Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007273/0.0007273, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009859/0.001713, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006737/0.0006737, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008733/0.001547, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9125/0.9125, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07903/0.9916, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.291/2.291, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2451/2.536, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.819 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.037e-06/1.042e-05, allocations: 2.312 kB / 0.819 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.001514/0.001524, allocations: 1.5 MB / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002668, allocations: 0.9848 MB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.002693, allocations: 4 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.737e-06/0.002701, allocations: 3.938 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.551e-05/0.002727, allocations: 7.922 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003719/0.003099, allocations: 270.7 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.003174, allocations: 47.8 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.463e-05/0.003209, allocations: 15.91 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.003271, allocations: 39.95 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.003323, allocations: 15.92 kB / 0.8218 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.003334, allocations: 4 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.003754, allocations: 431.3 kB / 0.8222 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.003769, allocations: 7.938 kB / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.003788, allocations: 12 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.004077, allocations: 299.1 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.004088, allocations: 4 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004089, allocations: 0 / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.0041, allocations: 0 / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003663/0.004467, allocations: 363.5 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.703e-05/0.004494, allocations: 8.031 kB / 0.8229 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.004524, allocations: 8.938 kB / 0.8229 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.004607, allocations: 121.6 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.004616, allocations: 384 / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.00464, allocations: 4.375 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.004726, allocations: 101.6 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.004734, allocations: 4.188 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.004741, allocations: 4.125 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004746, allocations: 0 / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.004772, allocations: 15.97 kB / 0.8231 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.37e-05/0.004855, allocations: 76.94 kB / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/0.004925, allocations: 50.56 kB / 0.8233 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.004945, allocations: 20.84 kB / 0.8233 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.004958, allocations: 0 / 0.8233 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.004978, allocations: 38.56 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.01e-07/0.004978, allocations: 0 / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.001684/0.006662, allocations: 0.7589 MB / 0.8241 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.006683, allocations: 51.41 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.995e-05/0.006742, allocations: 130.7 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.006755, allocations: 25.7 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.006781, allocations: 96.41 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.006809, allocations: 35.64 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.006855, allocations: 45.66 kB / 0.8244 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.624e-05/0.006921, allocations: 322.8 kB / 0.8247 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/0.006953, allocations: 24 kB / 0.8248 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.006985, allocations: 38.17 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.932e-05/0.007065, allocations: 76.75 kB / 0.8249 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.007065, allocations: 0 / 0.8249 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001064/0.007172, allocations: 119.7 kB / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.007182, allocations: 5.25 kB / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.007192, allocations: 8 kB / 0.825 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.007205, allocations: 0 / 0.825 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.00731, allocations: 39.89 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.007312, allocations: 0 / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.007351, allocations: 11.94 kB / 0.825 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.007358, allocations: 0 / 0.825 GB, free: 11.94 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.00741, allocations: 113.8 kB / 0.8251 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.007424, allocations: 11.92 kB / 0.8252 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.007539, allocations: 102 kB / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007541, allocations: 7.984 kB / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007542, allocations: 0 / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.007546, allocations: 4 kB / 0.8253 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.007756, allocations: 238.8 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007757, allocations: 0 / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.007853, allocations: 35.91 kB / 0.8255 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.007862, allocations: 11.94 kB / 0.8255 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.007863, allocations: 0 / 0.8255 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.007873, allocations: 11.92 kB / 0.8256 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.007874, allocations: 3.938 kB / 0.8256 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.007875, allocations: 0 / 0.8256 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.00803, allocations: 203.5 kB / 0.8257 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.008044, allocations: 8 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.008102, allocations: 4 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.00812, allocations: 11.92 kB / 0.8258 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.008129, allocations: 7.984 kB / 0.8258 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.505e-05/0.008144, allocations: 21.59 kB / 0.8258 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008144, allocations: 0 / 0.8258 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001611/0.008305, allocations: 63.81 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.008458, allocations: 148.1 kB / 0.826 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.008585, allocations: 110.5 kB / 0.8261 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.008592, allocations: 8 kB / 0.8261 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.008639, allocations: 57.02 kB / 0.8262 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.008782, allocations: 48.09 kB / 0.8262 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.00976, allocations: 272.6 kB / 0.8265 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.845e-05/0.009788, allocations: 63.34 kB / 0.8265 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.305e-05/0.009841, allocations: 16.73 kB / 0.8266 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.146e-05/0.009923, allocations: 71.36 kB / 0.8266 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.009923, allocations: 0 / 0.8266 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of Templates: time 0.003297/0.01322, allocations: 2.142 MB / 0.8287 GB, free: 8.066 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.944067068397999]