Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.943/2.943, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 70.95 kB / 1.145 GB, free: 30.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 174.9 MB / 1.316 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002352/0.3347, allocations: 1.276 MB / 1.317 GB, free: 8.477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.4965, allocations: 147.5 MB / 1.461 GB, free: 4.422 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.4965, allocations: 0 / 1.461 GB, free: 4.422 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.4966, allocations: 7.922 kB / 1.461 GB, free: 4.414 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.4966, allocations: 0 / 1.461 GB, free: 4.414 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.497, allocations: 91.56 kB / 1.461 GB, free: 4.324 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.4971, allocations: 35.8 kB / 1.461 GB, free: 4.289 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.4971, allocations: 11.98 kB / 1.461 GB, free: 4.277 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.4971, allocations: 15.98 kB / 1.461 GB, free: 4.262 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.4972, allocations: 15.92 kB / 1.461 GB, free: 4.246 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.4972, allocations: 0 / 1.461 GB, free: 4.246 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.4974, allocations: 83.81 kB / 1.462 GB, free: 4.164 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.4974, allocations: 8 kB / 1.462 GB, free: 4.156 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.4975, allocations: 11.92 kB / 1.462 GB, free: 4.145 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.4976, allocations: 67.75 kB / 1.462 GB, free: 4.078 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4976, allocations: 4 kB / 1.462 GB, free: 4.074 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4976, allocations: 0 / 1.462 GB, free: 4.074 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.4976, allocations: 4 kB / 1.462 GB, free: 4.07 MB / 1.154 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.0003603/0.498, allocations: 270.2 kB / 1.462 GB, free: 3.777 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.498, allocations: 12.03 kB / 1.462 GB, free: 3.766 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.4982, allocations: 16.88 kB / 1.462 GB, free: 3.75 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/0.4983, allocations: 110.5 kB / 1.462 GB, free: 3.617 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4983, allocations: 7.938 kB / 1.462 GB, free: 3.609 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.4983, allocations: 0 / 1.462 GB, free: 3.609 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.4985, allocations: 57.67 kB / 1.462 GB, free: 3.547 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4985, allocations: 0 / 1.462 GB, free: 3.547 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4985, allocations: 4 kB / 1.462 GB, free: 3.543 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4985, allocations: 0 / 1.462 GB, free: 3.543 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.626e-05/0.4985, allocations: 19.92 kB / 1.462 GB, free: 3.523 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.4987, allocations: 144.6 kB / 1.462 GB, free: 3.34 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 8.931e-05/0.4988, allocations: 42.56 kB / 1.462 GB, free: 3.289 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.4988, allocations: 21.08 kB / 1.462 GB, free: 3.266 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.4988, allocations: 4 kB / 1.462 GB, free: 3.262 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4989, allocations: 38.55 kB / 1.462 GB, free: 3.215 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.4989, allocations: 3.938 kB / 1.462 GB, free: 3.211 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0006788/0.4995, allocations: 297 kB / 1.463 GB, free: 2.887 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.4996, allocations: 51.41 kB / 1.463 GB, free: 2.824 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.4996, allocations: 101.8 kB / 1.463 GB, free: 2.715 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4997, allocations: 25.7 kB / 1.463 GB, free: 2.684 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.4997, allocations: 84.14 kB / 1.463 GB, free: 2.598 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.4997, allocations: 43.62 kB / 1.463 GB, free: 2.555 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.4998, allocations: 29.72 kB / 1.463 GB, free: 2.52 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4999, allocations: 318.8 kB / 1.463 GB, free: 2.199 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.5, allocations: 20 kB / 1.463 GB, free: 2.18 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.5, allocations: 33.83 kB / 1.463 GB, free: 2.141 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.521e-05/0.5001, allocations: 65.64 kB / 1.463 GB, free: 2.07 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5001, allocations: 0 / 1.463 GB, free: 2.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001317/0.5002, allocations: 97.56 kB / 1.463 GB, free: 1.969 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5002, allocations: 4 kB / 1.463 GB, free: 1.965 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.5002, allocations: 0 / 1.463 GB, free: 1.965 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5002, allocations: 4 kB / 1.463 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.5003, allocations: 23.92 kB / 1.463 GB, free: 1.938 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.5004, allocations: 0.7031 kB / 1.463 GB, free: 1.938 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.5004, allocations: 8 kB / 1.463 GB, free: 1.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.5004, allocations: 4 kB / 1.463 GB, free: 1.926 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 14 * 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 prepare postOptimizeDAE: time 7.495e-05/0.5005, allocations: 117.8 kB / 1.464 GB, free: 1.801 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.5005, allocations: 4 kB / 1.464 GB, free: 1.797 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.5005, allocations: 11.91 kB / 1.464 GB, free: 1.785 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.5005, allocations: 0 / 1.464 GB, free: 1.785 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5005, allocations: 7.984 kB / 1.464 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5005, allocations: 0 / 1.464 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.5006, allocations: 136.7 kB / 1.464 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5006, allocations: 0 / 1.464 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5007, allocations: 31.92 kB / 1.464 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5007, allocations: 0 / 1.464 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.5008, allocations: 0 / 1.464 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.5008, allocations: 4 kB / 1.464 GB, free: 1.566 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5008, allocations: 0 / 1.464 GB, free: 1.566 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.5009, allocations: 136.9 kB / 1.464 GB, free: 1.414 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.501, allocations: 4 kB / 1.464 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.501, allocations: 8 kB / 1.464 GB, free: 1.402 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.5011, allocations: 8.031 kB / 1.464 GB, free: 1.395 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.5011, allocations: 7.984 kB / 1.464 GB, free: 1.387 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.5011, allocations: 8 kB / 1.464 GB, free: 1.379 MB / 1.154 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.5011, allocations: 79.22 kB / 1.464 GB, free: 1.301 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5011, allocations: 0 / 1.464 GB, free: 1.301 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000182/0.5013, allocations: 23.88 kB / 1.464 GB, free: 1.277 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 8.489e-05/0.5014, allocations: 95.78 kB / 1.464 GB, free: 1.172 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.5015, allocations: 60.16 kB / 1.464 GB, free: 1.113 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5015, allocations: 4 kB / 1.464 GB, free: 1.109 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.5016, allocations: 28.14 kB / 1.464 GB, free: 1.082 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.5018, allocations: 12.22 kB / 1.464 GB, free: 1.07 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.5023, allocations: 333.2 kB / 1.465 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.5026, allocations: 0.6924 MB / 1.465 GB, free: 0 / 1.154 GB Notification: Performance of simCode: alias equations: time 5.845e-05/0.5026, allocations: 8.719 kB / 1.465 GB, free: 15.99 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.5026, allocations: 11.44 kB / 1.465 GB, free: 15.98 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/0.5026, allocations: 0 / 1.465 GB, free: 15.98 MB / 1.17 GB Notification: Performance of Templates: time 0.002676/0.5053, allocations: 0.6848 MB / 1.466 GB, free: 15.3 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.251121764071286]