Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001748/0.001748, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002249/0.002249, allocations: 214.6 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.906/2.906, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.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_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003828/0.003828, allocations: 66.19 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3747, allocations: 170 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003018/0.3777, allocations: 1.282 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1931/0.5708, allocations: 129 MB / 1.41 GB, free: 9.168 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.5709, allocations: 0 / 1.41 GB, free: 9.168 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/0.5709, allocations: 7.922 kB / 1.41 GB, free: 9.16 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.571, allocations: 7.938 kB / 1.41 GB, free: 9.152 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.5717, allocations: 91.56 kB / 1.41 GB, free: 9.062 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.5718, allocations: 35.92 kB / 1.41 GB, free: 9.027 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.5718, allocations: 4 kB / 1.41 GB, free: 9.023 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.5719, allocations: 15.97 kB / 1.41 GB, free: 9.008 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.572, allocations: 15.92 kB / 1.41 GB, free: 8.992 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.572, allocations: 4 kB / 1.41 GB, free: 8.988 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.5723, allocations: 71.77 kB / 1.411 GB, free: 8.918 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.5724, allocations: 11.98 kB / 1.411 GB, free: 8.906 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.5724, allocations: 23.94 kB / 1.411 GB, free: 8.883 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.5726, allocations: 67.75 kB / 1.411 GB, free: 8.816 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5726, allocations: 0 / 1.411 GB, free: 8.816 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5727, allocations: 0 / 1.411 GB, free: 8.816 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.5727, allocations: 0 / 1.411 GB, free: 8.816 MB / 1.107 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.0005086/0.5732, allocations: 274.2 kB / 1.411 GB, free: 8.52 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.5732, allocations: 8.031 kB / 1.411 GB, free: 8.512 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.5734, allocations: 12.92 kB / 1.411 GB, free: 8.5 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5736, allocations: 114.5 kB / 1.411 GB, free: 8.363 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5736, allocations: 7.938 kB / 1.411 GB, free: 8.355 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.5736, allocations: 7.938 kB / 1.411 GB, free: 8.348 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.5738, allocations: 134.8 kB / 1.411 GB, free: 8.191 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5738, allocations: 0 / 1.411 GB, free: 8.191 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.5739, allocations: 0 / 1.411 GB, free: 8.191 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5739, allocations: 0 / 1.411 GB, free: 8.191 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.364e-05/0.5739, allocations: 23.92 kB / 1.411 GB, free: 8.168 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.5741, allocations: 105.3 kB / 1.411 GB, free: 8.035 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.5743, allocations: 54.5 kB / 1.411 GB, free: 7.973 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.5743, allocations: 20.84 kB / 1.411 GB, free: 7.949 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.5743, allocations: 4 kB / 1.411 GB, free: 7.945 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5744, allocations: 30.56 kB / 1.411 GB, free: 7.906 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.5744, allocations: 0 / 1.411 GB, free: 7.906 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.000868/0.5752, allocations: 301.2 kB / 1.412 GB, free: 7.578 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5753, allocations: 51.41 kB / 1.412 GB, free: 7.516 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5754, allocations: 101.8 kB / 1.412 GB, free: 7.406 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.5754, allocations: 29.7 kB / 1.412 GB, free: 7.371 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.5754, allocations: 80.14 kB / 1.412 GB, free: 7.289 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.5755, allocations: 43.77 kB / 1.412 GB, free: 7.246 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.5756, allocations: 29.72 kB / 1.412 GB, free: 7.211 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5757, allocations: 326.7 kB / 1.412 GB, free: 6.883 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.5758, allocations: 16 kB / 1.412 GB, free: 6.867 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.5758, allocations: 33.7 kB / 1.412 GB, free: 6.828 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.5759, allocations: 69.62 kB / 1.412 GB, free: 6.754 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5759, allocations: 0 / 1.412 GB, free: 6.754 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001563/0.5761, allocations: 89.64 kB / 1.412 GB, free: 6.66 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5761, allocations: 4 kB / 1.412 GB, free: 6.656 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5761, allocations: 0 / 1.412 GB, free: 6.656 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5761, allocations: 4 kB / 1.412 GB, free: 6.652 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.5762, allocations: 27.92 kB / 1.413 GB, free: 6.625 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5763, allocations: 0.7031 kB / 1.413 GB, free: 6.625 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.5763, allocations: 8 kB / 1.413 GB, free: 6.617 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5763, allocations: 4 kB / 1.413 GB, free: 6.613 MB / 1.107 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 0.0001156/0.5764, allocations: 113.8 kB / 1.413 GB, free: 6.492 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.5764, allocations: 4 kB / 1.413 GB, free: 6.488 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.5765, allocations: 11.91 kB / 1.413 GB, free: 6.48 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5765, allocations: 4 kB / 1.413 GB, free: 6.477 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5765, allocations: 3.938 kB / 1.413 GB, free: 6.473 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5765, allocations: 3.984 kB / 1.413 GB, free: 6.469 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.5766, allocations: 117.2 kB / 1.413 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5766, allocations: 0 / 1.413 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.5768, allocations: 23.98 kB / 1.413 GB, free: 6.301 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.5768, allocations: 3.984 kB / 1.413 GB, free: 6.297 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5768, allocations: 4 kB / 1.413 GB, free: 6.293 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5768, allocations: 0 / 1.413 GB, free: 6.293 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5768, allocations: 0 / 1.413 GB, free: 6.293 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.577, allocations: 136.2 kB / 1.413 GB, free: 6.145 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.5771, allocations: 23.92 kB / 1.413 GB, free: 6.121 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.5771, allocations: 4 kB / 1.413 GB, free: 6.117 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.5772, allocations: 0 / 1.413 GB, free: 6.117 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.5772, allocations: 15.98 kB / 1.413 GB, free: 6.102 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.5773, allocations: 4 kB / 1.413 GB, free: 6.098 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.288e-05/0.5773, allocations: 75.28 kB / 1.413 GB, free: 6.023 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.5773, allocations: 0 / 1.413 GB, free: 6.023 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002161/0.5775, allocations: 16 kB / 1.413 GB, free: 6.008 MB / 1.107 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 0.0001256/0.5776, allocations: 99.23 kB / 1.413 GB, free: 5.898 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.5778, allocations: 60.02 kB / 1.413 GB, free: 5.84 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.5778, allocations: 3.938 kB / 1.413 GB, free: 5.836 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.283e-05/0.5779, allocations: 32.02 kB / 1.413 GB, free: 5.805 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5781, allocations: 14.44 kB / 1.413 GB, free: 5.793 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.5789, allocations: 321.2 kB / 1.414 GB, free: 5.449 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/0.5789, allocations: 67.34 kB / 1.414 GB, free: 5.363 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 6.153e-05/0.579, allocations: 12.66 kB / 1.414 GB, free: 5.352 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.579, allocations: 11.44 kB / 1.414 GB, free: 5.34 MB / 1.107 GB Notification: Performance of SimCode: time 4.71e-07/0.579, allocations: 0 / 1.414 GB, free: 5.34 MB / 1.107 GB Notification: Performance of Templates: time 0.003579/0.5826, allocations: 0.641 MB / 1.414 GB, free: 4.711 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.637672873213887]