Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.001434/0.001434, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001582/0.001582, allocations: 216 kB / 23.01 MB, free: 4.566 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.905/2.905, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") [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.001877/0.001877, allocations: 68.64 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.302, allocations: 180.2 MB / 1.354 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00234/0.3043, allocations: 1.354 MB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1602/0.4645, allocations: 151.4 MB / 1.503 GB, free: 14.64 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.4646, allocations: 4 kB / 1.503 GB, free: 14.64 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.4646, allocations: 3.938 kB / 1.503 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.4647, allocations: 15.91 kB / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.4656, allocations: 342.6 kB / 1.504 GB, free: 14.28 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.4657, allocations: 63.77 kB / 1.504 GB, free: 14.22 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.4657, allocations: 0 / 1.504 GB, free: 14.22 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.4658, allocations: 31.86 kB / 1.504 GB, free: 14.19 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.4658, allocations: 39.89 kB / 1.504 GB, free: 14.15 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.4659, allocations: 0 / 1.504 GB, free: 14.15 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.4667, allocations: 454.6 kB / 1.504 GB, free: 13.7 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.4667, allocations: 15.97 kB / 1.504 GB, free: 13.69 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.4667, allocations: 27.86 kB / 1.504 GB, free: 13.66 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.467, allocations: 163.5 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.467, allocations: 0 / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of FrontEnd: time 4.348e-06/0.467, allocations: 4 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.467, allocations: 0 / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004224/0.4675, allocations: 314 kB / 1.505 GB, free: 13.16 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.4675, allocations: 12.03 kB / 1.505 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.4679, allocations: 36.86 kB / 1.505 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.468, allocations: 106.5 kB / 1.505 GB, free: 12.98 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.468, allocations: 7.938 kB / 1.505 GB, free: 12.98 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.468, allocations: 11.95 kB / 1.505 GB, free: 12.96 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.4682, allocations: 85.52 kB / 1.505 GB, free: 12.88 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.4682, allocations: 0 / 1.505 GB, free: 12.88 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4682, allocations: 4 kB / 1.505 GB, free: 12.87 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4682, allocations: 4 kB / 1.505 GB, free: 12.87 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.484e-05/0.4683, allocations: 43.95 kB / 1.505 GB, free: 12.82 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.4685, allocations: 164.6 kB / 1.505 GB, free: 12.62 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.4686, allocations: 86.64 kB / 1.505 GB, free: 12.53 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.4687, allocations: 24.84 kB / 1.505 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.4688, allocations: 27.98 kB / 1.505 GB, free: 12.47 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4689, allocations: 38.55 kB / 1.505 GB, free: 12.43 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.4689, allocations: 0 / 1.505 GB, free: 12.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001187/0.4701, allocations: 475.9 kB / 1.506 GB, free: 11.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4701, allocations: 59.34 kB / 1.506 GB, free: 11.86 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.4702, allocations: 105.8 kB / 1.506 GB, free: 11.75 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4702, allocations: 25.7 kB / 1.506 GB, free: 11.71 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.4702, allocations: 84.52 kB / 1.506 GB, free: 11.63 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.4703, allocations: 67.39 kB / 1.506 GB, free: 11.56 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.4704, allocations: 41.7 kB / 1.506 GB, free: 11.52 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4705, allocations: 323 kB / 1.506 GB, free: 11.19 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.4705, allocations: 35.98 kB / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.4706, allocations: 72.42 kB / 1.507 GB, free: 11.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.4708, allocations: 115.3 kB / 1.507 GB, free: 10.95 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4708, allocations: 0 / 1.507 GB, free: 10.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002244/0.471, allocations: 157.5 kB / 1.507 GB, free: 10.79 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.471, allocations: 10.44 kB / 1.507 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.471, allocations: 8 kB / 1.507 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.471, allocations: 3.938 kB / 1.507 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.4712, allocations: 39.92 kB / 1.507 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4712, allocations: 3.984 kB / 1.507 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.4713, allocations: 11.94 kB / 1.507 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.4713, allocations: 7.984 kB / 1.507 GB, free: 10.71 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 9.31e-05/0.4714, allocations: 122.4 kB / 1.507 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.4714, allocations: 11.95 kB / 1.507 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.4714, allocations: 20.47 kB / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4714, allocations: 0 / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4714, allocations: 0 / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4715, allocations: 3.938 kB / 1.507 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.4716, allocations: 164.7 kB / 1.507 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4716, allocations: 12.11 kB / 1.507 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.4718, allocations: 35.92 kB / 1.507 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4718, allocations: 0 / 1.507 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4718, allocations: 8 kB / 1.507 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4718, allocations: 0 / 1.507 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4718, allocations: 0 / 1.507 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.4721, allocations: 207.7 kB / 1.507 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.4722, allocations: 20 kB / 1.507 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4722, allocations: 3.984 kB / 1.507 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.4723, allocations: 8 kB / 1.507 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.4723, allocations: 11.92 kB / 1.507 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.4723, allocations: 11.98 kB / 1.507 GB, free: 10.01 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.4724, allocations: 83.28 kB / 1.508 GB, free: 9.93 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.4724, allocations: 0 / 1.508 GB, free: 9.93 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002051/0.4726, allocations: 24 kB / 1.508 GB, free: 9.906 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001166/0.4727, allocations: 107.2 kB / 1.508 GB, free: 9.789 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.4729, allocations: 103.8 kB / 1.508 GB, free: 9.688 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4729, allocations: 0 / 1.508 GB, free: 9.688 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.473, allocations: 51.91 kB / 1.508 GB, free: 9.637 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4732, allocations: 16.2 kB / 1.508 GB, free: 9.621 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/0.474, allocations: 0.5426 MB / 1.508 GB, free: 9.043 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.4743, allocations: 0.7047 MB / 1.509 GB, free: 8.312 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.4743, allocations: 27.38 kB / 1.509 GB, free: 8.289 MB / 1.201 GB Notification: Performance of SimCode: time 2.8e-07/0.4743, allocations: 0 / 1.509 GB, free: 8.289 MB / 1.201 GB Notification: Performance of Templates: time 0.002739/0.477, allocations: 1.307 MB / 1.51 GB, free: 6.98 MB / 1.201 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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: 10.151243940985296]