Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001774/0.001774, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002166/0.002166, allocations: 222.8 kB / 23 MB, free: 4.914 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.747/2.747, allocations: 476 MB / 0.7707 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_11_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_11_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.002198/0.002198, allocations: 70.83 kB / 1.118 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2999, allocations: 170 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002542/0.3024, allocations: 1.334 MB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.4744, allocations: 130 MB / 1.412 GB, free: 8.117 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.4744, allocations: 0 / 1.412 GB, free: 8.117 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.4745, allocations: 3.938 kB / 1.412 GB, free: 8.113 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.4746, allocations: 19.91 kB / 1.412 GB, free: 8.094 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.4757, allocations: 330.6 kB / 1.412 GB, free: 7.77 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.4758, allocations: 67.75 kB / 1.412 GB, free: 7.703 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.4758, allocations: 4 kB / 1.412 GB, free: 7.699 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.4759, allocations: 31.91 kB / 1.412 GB, free: 7.668 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.476, allocations: 31.89 kB / 1.413 GB, free: 7.637 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.476, allocations: 0 / 1.413 GB, free: 7.637 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007874/0.4768, allocations: 378.7 kB / 1.413 GB, free: 7.266 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.4768, allocations: 19.92 kB / 1.413 GB, free: 7.246 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.4769, allocations: 19.92 kB / 1.413 GB, free: 7.227 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.4772, allocations: 151.6 kB / 1.413 GB, free: 7.078 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4772, allocations: 0 / 1.413 GB, free: 7.078 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4772, allocations: 3.938 kB / 1.413 GB, free: 7.074 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.4772, allocations: 0 / 1.413 GB, free: 7.074 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004964/0.4777, allocations: 317.9 kB / 1.413 GB, free: 6.734 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4778, allocations: 12.03 kB / 1.413 GB, free: 6.723 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.4782, allocations: 40.84 kB / 1.413 GB, free: 6.684 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.4783, allocations: 110.5 kB / 1.414 GB, free: 6.551 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.4783, allocations: 11.94 kB / 1.414 GB, free: 6.539 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.4783, allocations: 15.98 kB / 1.414 GB, free: 6.523 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.4786, allocations: 202.2 kB / 1.414 GB, free: 6.289 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4786, allocations: 0 / 1.414 GB, free: 6.289 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4786, allocations: 0 / 1.414 GB, free: 6.289 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.4786, allocations: 4 kB / 1.414 GB, free: 6.285 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.738e-05/0.4787, allocations: 47.89 kB / 1.414 GB, free: 6.238 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.4789, allocations: 133.1 kB / 1.414 GB, free: 6.078 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.4791, allocations: 94.56 kB / 1.414 GB, free: 5.977 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.4792, allocations: 28.84 kB / 1.414 GB, free: 5.945 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.4794, allocations: 19.98 kB / 1.414 GB, free: 5.926 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4794, allocations: 38.56 kB / 1.414 GB, free: 5.879 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.4794, allocations: 0 / 1.414 GB, free: 5.879 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001352/0.4807, allocations: 482.8 kB / 1.415 GB, free: 5.375 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.4808, allocations: 55.41 kB / 1.415 GB, free: 5.309 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.4809, allocations: 93.86 kB / 1.415 GB, free: 5.207 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.4809, allocations: 33.7 kB / 1.415 GB, free: 5.168 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.4809, allocations: 80.52 kB / 1.415 GB, free: 5.086 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.481, allocations: 71.38 kB / 1.415 GB, free: 5.016 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.4811, allocations: 41.7 kB / 1.415 GB, free: 4.969 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4812, allocations: 322.9 kB / 1.415 GB, free: 4.645 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.4813, allocations: 39.97 kB / 1.415 GB, free: 4.605 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.803e-05/0.4814, allocations: 69.64 kB / 1.415 GB, free: 4.527 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.4816, allocations: 115.3 kB / 1.415 GB, free: 4.402 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4816, allocations: 0 / 1.415 GB, free: 4.402 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002492/0.4818, allocations: 157.5 kB / 1.416 GB, free: 4.242 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4819, allocations: 8 kB / 1.416 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.4819, allocations: 0 / 1.416 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4819, allocations: 0 / 1.416 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.4821, allocations: 39.92 kB / 1.416 GB, free: 4.195 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4821, allocations: 4.281 kB / 1.416 GB, free: 4.191 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.4821, allocations: 12 kB / 1.416 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4821, allocations: 7.938 kB / 1.416 GB, free: 4.172 MB / 1.107 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 0.0001079/0.4823, allocations: 125.8 kB / 1.416 GB, free: 4.039 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.4823, allocations: 7.953 kB / 1.416 GB, free: 4.031 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.4823, allocations: 20.41 kB / 1.416 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4823, allocations: 11.92 kB / 1.416 GB, free: 4.004 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4823, allocations: 0 / 1.416 GB, free: 4.004 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4823, allocations: 0 / 1.416 GB, free: 4.004 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.4825, allocations: 137.2 kB / 1.416 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4825, allocations: 0 / 1.416 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.4827, allocations: 39.98 kB / 1.416 GB, free: 3.801 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4827, allocations: 0 / 1.416 GB, free: 3.801 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4827, allocations: 4 kB / 1.416 GB, free: 3.797 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.4827, allocations: 11.97 kB / 1.416 GB, free: 3.785 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4827, allocations: 0 / 1.416 GB, free: 3.785 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.4831, allocations: 210.9 kB / 1.416 GB, free: 3.562 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.4831, allocations: 20 kB / 1.416 GB, free: 3.543 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.4832, allocations: 0 / 1.416 GB, free: 3.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.4833, allocations: 11.98 kB / 1.416 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.4833, allocations: 7.984 kB / 1.416 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4833, allocations: 8 kB / 1.416 GB, free: 3.516 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.4834, allocations: 83.28 kB / 1.416 GB, free: 3.434 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.4834, allocations: 0 / 1.416 GB, free: 3.434 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002326/0.4836, allocations: 28 kB / 1.416 GB, free: 3.406 MB / 1.107 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.0001457/0.4838, allocations: 111.2 kB / 1.416 GB, free: 3.285 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.484, allocations: 99.78 kB / 1.417 GB, free: 3.188 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.484, allocations: 0 / 1.417 GB, free: 3.188 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 7.505e-05/0.4841, allocations: 47.92 kB / 1.417 GB, free: 3.141 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.4843, allocations: 24.08 kB / 1.417 GB, free: 3.117 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009432/0.4853, allocations: 0.5388 MB / 1.417 GB, free: 2.543 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.986e-05/0.4854, allocations: 83.75 kB / 1.417 GB, free: 2.441 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.4854, allocations: 15.44 kB / 1.417 GB, free: 2.426 MB / 1.107 GB Notification: Performance of SimCode: time 4.31e-07/0.4854, allocations: 4 kB / 1.417 GB, free: 2.422 MB / 1.107 GB Notification: Performance of Templates: time 0.003353/0.4888, allocations: 1.334 MB / 1.419 GB, free: 1.09 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.313992470968515]