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.001367/0.001367, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001546/0.001546, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.028/3.028, allocations: 475.9 MB / 0.7699 GB, free: 4.715 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.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.002167/0.002167, allocations: 66.55 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.385, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003286/0.3883, allocations: 1.338 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.5741, allocations: 130 MB / 1.411 GB, free: 8.047 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.5742, allocations: 8 kB / 1.411 GB, free: 8.039 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 6.221e-05/0.5742, allocations: 3.938 kB / 1.411 GB, free: 8.035 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.5744, allocations: 11.91 kB / 1.411 GB, free: 8.023 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.5755, allocations: 326.7 kB / 1.412 GB, free: 7.703 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.5756, allocations: 67.75 kB / 1.412 GB, free: 7.637 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.5757, allocations: 8 kB / 1.412 GB, free: 7.629 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.5757, allocations: 31.91 kB / 1.412 GB, free: 7.598 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.5758, allocations: 31.89 kB / 1.412 GB, free: 7.566 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.5759, allocations: 4 kB / 1.412 GB, free: 7.562 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007885/0.5766, allocations: 370.7 kB / 1.412 GB, free: 7.199 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.5767, allocations: 15.92 kB / 1.412 GB, free: 7.184 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.5768, allocations: 27.92 kB / 1.412 GB, free: 7.156 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.5771, allocations: 155.5 kB / 1.412 GB, free: 7.004 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5771, allocations: 4 kB / 1.412 GB, free: 7 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5771, allocations: 0 / 1.412 GB, free: 7 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5771, allocations: 0 / 1.412 GB, free: 7 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.0005522/0.5776, allocations: 318 kB / 1.413 GB, free: 6.66 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.5777, allocations: 8.031 kB / 1.413 GB, free: 6.652 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/0.5781, allocations: 36.84 kB / 1.413 GB, free: 6.617 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.5782, allocations: 110.5 kB / 1.413 GB, free: 6.484 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5782, allocations: 11.94 kB / 1.413 GB, free: 6.473 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.5783, allocations: 15.94 kB / 1.413 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.5786, allocations: 210 kB / 1.413 GB, free: 6.215 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5786, allocations: 0 / 1.413 GB, free: 6.215 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.5786, allocations: 7.984 kB / 1.413 GB, free: 6.207 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5786, allocations: 0 / 1.413 GB, free: 6.207 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.5787, allocations: 39.97 kB / 1.413 GB, free: 6.168 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.5789, allocations: 129.2 kB / 1.413 GB, free: 6.012 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.5792, allocations: 90.56 kB / 1.413 GB, free: 5.914 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.5792, allocations: 32.78 kB / 1.413 GB, free: 5.879 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.5794, allocations: 27.98 kB / 1.413 GB, free: 5.852 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5794, allocations: 34.56 kB / 1.413 GB, free: 5.809 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.5794, allocations: 0 / 1.413 GB, free: 5.809 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001391/0.5808, allocations: 479 kB / 1.414 GB, free: 5.309 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.5809, allocations: 59.41 kB / 1.414 GB, free: 5.238 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.581, allocations: 97.86 kB / 1.414 GB, free: 5.133 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.581, allocations: 33.62 kB / 1.414 GB, free: 5.094 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.581, allocations: 84.52 kB / 1.414 GB, free: 5.008 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.5811, allocations: 67.39 kB / 1.414 GB, free: 4.941 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.5812, allocations: 41.7 kB / 1.414 GB, free: 4.895 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5814, allocations: 322.8 kB / 1.414 GB, free: 4.57 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.5814, allocations: 35.98 kB / 1.414 GB, free: 4.535 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.5815, allocations: 73.84 kB / 1.415 GB, free: 4.453 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.5817, allocations: 119.3 kB / 1.415 GB, free: 4.324 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5817, allocations: 12.06 kB / 1.415 GB, free: 4.312 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002413/0.582, allocations: 153.5 kB / 1.415 GB, free: 4.156 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.582, allocations: 4 kB / 1.415 GB, free: 4.152 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.582, allocations: 0 / 1.415 GB, free: 4.152 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.582, allocations: 4 kB / 1.415 GB, free: 4.148 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.5822, allocations: 39.92 kB / 1.415 GB, free: 4.109 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5822, allocations: 0 / 1.415 GB, free: 4.109 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.5823, allocations: 11.98 kB / 1.415 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.5823, allocations: 7.938 kB / 1.415 GB, free: 4.09 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.0001053/0.5824, allocations: 121.8 kB / 1.415 GB, free: 3.961 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.5824, allocations: 11.95 kB / 1.415 GB, free: 3.949 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.5825, allocations: 20.47 kB / 1.415 GB, free: 3.934 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5825, allocations: 0 / 1.415 GB, free: 3.934 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5825, allocations: 0 / 1.415 GB, free: 3.934 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5825, allocations: 0 / 1.415 GB, free: 3.934 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.5827, allocations: 137.2 kB / 1.415 GB, free: 3.77 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5827, allocations: 0 / 1.415 GB, free: 3.77 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.5828, allocations: 31.98 kB / 1.415 GB, free: 3.738 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.5829, allocations: 7.984 kB / 1.415 GB, free: 3.73 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5829, allocations: 7.938 kB / 1.415 GB, free: 3.723 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5829, allocations: 3.938 kB / 1.415 GB, free: 3.719 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5829, allocations: 4 kB / 1.415 GB, free: 3.715 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.5832, allocations: 207.1 kB / 1.415 GB, free: 3.496 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.5833, allocations: 19.98 kB / 1.415 GB, free: 3.477 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.5833, allocations: 8 kB / 1.415 GB, free: 3.469 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.5834, allocations: 11.98 kB / 1.415 GB, free: 3.457 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.5835, allocations: 7.984 kB / 1.415 GB, free: 3.449 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.5835, allocations: 8 kB / 1.415 GB, free: 3.441 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.5835, allocations: 79.27 kB / 1.416 GB, free: 3.363 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.5835, allocations: 0 / 1.416 GB, free: 3.363 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000232/0.5838, allocations: 28 kB / 1.416 GB, free: 3.336 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.0001601/0.5839, allocations: 111.2 kB / 1.416 GB, free: 3.215 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.5842, allocations: 103.8 kB / 1.416 GB, free: 3.113 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5842, allocations: 0 / 1.416 GB, free: 3.113 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.5842, allocations: 47.92 kB / 1.416 GB, free: 3.066 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.5845, allocations: 15.98 kB / 1.416 GB, free: 3.051 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/0.5854, allocations: 0.5213 MB / 1.416 GB, free: 2.504 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.603e-05/0.5855, allocations: 83.75 kB / 1.416 GB, free: 2.402 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.5856, allocations: 36.55 kB / 1.416 GB, free: 2.367 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.5857, allocations: 15.44 kB / 1.416 GB, free: 2.352 MB / 1.107 GB Notification: Performance of SimCode: time 2.9e-07/0.5857, allocations: 0 / 1.416 GB, free: 2.352 MB / 1.107 GB Notification: Performance of Templates: time 0.004143/0.5898, allocations: 1.12 MB / 1.418 GB, free: 1.262 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/jenkins/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: 9.74368959479034]