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.001005/0.001005, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005278/0.006283, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001129/0.001129, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004327/0.005457, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.05/1.05, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08634/1.137, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.358/2.358, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2781/2.636, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.577e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00286/0.002885, allocations: 1.418 MB / 0.8203 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.1545, allocations: 143.8 MB / 0.9607 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.1545, allocations: 0 / 0.9607 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.1545, allocations: 3.984 kB / 0.9607 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.1546, allocations: 19.8 kB / 0.9607 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.1553, allocations: 334.3 kB / 0.961 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1554, allocations: 63.77 kB / 0.9611 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.1555, allocations: 8 kB / 0.9611 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.1555, allocations: 39.89 kB / 0.9611 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.1556, allocations: 31.94 kB / 0.9612 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1556, allocations: 4 kB / 0.9612 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.1562, allocations: 378.5 kB / 0.9615 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.1562, allocations: 11.98 kB / 0.9615 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.1562, allocations: 19.94 kB / 0.9616 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1565, allocations: 155.5 kB / 0.9617 GB, free: 15.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.1565, allocations: 3.984 kB / 0.9617 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1565, allocations: 0 / 0.9617 GB, free: 15.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.1565, allocations: 4 kB / 0.9617 GB, free: 15.7 MB / 0.948 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.0003746/0.1569, allocations: 304.2 kB / 0.962 GB, free: 15.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1569, allocations: 12.03 kB / 0.962 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.1572, allocations: 141.7 kB / 0.9622 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.1573, allocations: 113.7 kB / 0.9623 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1573, allocations: 8.375 kB / 0.9623 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1573, allocations: 16.33 kB / 0.9623 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1575, allocations: 200.9 kB / 0.9625 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1575, allocations: 4 kB / 0.9625 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1575, allocations: 0 / 0.9625 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1575, allocations: 0 / 0.9625 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.1575, allocations: 35.84 kB / 0.9625 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.959e-05/0.1576, allocations: 82.69 kB / 0.9626 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1577, allocations: 65.38 kB / 0.9627 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.1578, allocations: 12.86 kB / 0.9627 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.534e-05/0.1578, allocations: 31.97 kB / 0.9627 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1579, allocations: 38.56 kB / 0.9627 GB, free: 14.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.1579, allocations: 0 / 0.9627 GB, free: 14.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0008528/0.1587, allocations: 0.4993 MB / 0.9632 GB, free: 13.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1587, allocations: 63.33 kB / 0.9633 GB, free: 13.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.1588, allocations: 102.7 kB / 0.9634 GB, free: 13.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1588, allocations: 29.7 kB / 0.9634 GB, free: 13.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/0.1588, allocations: 80.52 kB / 0.9635 GB, free: 13.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.1589, allocations: 71.38 kB / 0.9636 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.1589, allocations: 49.81 kB / 0.9636 GB, free: 13.55 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.159, allocations: 322.8 kB / 0.9639 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.159, allocations: 12 kB / 0.9639 GB, free: 13.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/0.1591, allocations: 55.39 kB / 0.964 GB, free: 13.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.1591, allocations: 78.14 kB / 0.9641 GB, free: 13.06 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1591, allocations: 0 / 0.9641 GB, free: 13.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001006/0.1592, allocations: 105.5 kB / 0.9642 GB, free: 12.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1592, allocations: 4 kB / 0.9642 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1593, allocations: 4 kB / 0.9642 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1593, allocations: 3.938 kB / 0.9642 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.1594, allocations: 51.92 kB / 0.9642 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1594, allocations: 4 kB / 0.9642 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.1594, allocations: 4 kB / 0.9642 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1594, allocations: 4 kB / 0.9642 GB, free: 12.88 MB / 0.948 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 5.455e-05/0.1595, allocations: 120.6 kB / 0.9643 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.1595, allocations: 23.91 kB / 0.9644 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.1595, allocations: 16.47 kB / 0.9644 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1595, allocations: 4 kB / 0.9644 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1595, allocations: 0 / 0.9644 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1595, allocations: 3.984 kB / 0.9644 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.029e-05/0.1596, allocations: 94 kB / 0.9645 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.1596, allocations: 4 kB / 0.9645 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1597, allocations: 39.92 kB / 0.9645 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.1597, allocations: 19.88 kB / 0.9645 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.1597, allocations: 0 / 0.9645 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1597, allocations: 4 kB / 0.9645 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1597, allocations: 4 kB / 0.9645 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1597, allocations: 0 / 0.9645 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.1599, allocations: 149.5 kB / 0.9647 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1599, allocations: 3.938 kB / 0.9647 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.1599, allocations: 8 kB / 0.9647 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.1599, allocations: 15.97 kB / 0.9647 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1599, allocations: 8 kB / 0.9647 GB, free: 12.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.744e-06/0.1599, allocations: 4.859 kB / 0.9647 GB, free: 12.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1599, allocations: 0 / 0.9647 GB, free: 12.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001158/0.1601, allocations: 31.94 kB / 0.9648 GB, free: 12.29 MB / 0.948 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.0001091/0.1602, allocations: 88.41 kB / 0.9648 GB, free: 12.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.1603, allocations: 85.19 kB / 0.9649 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1603, allocations: 4 kB / 0.9649 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.1603, allocations: 55.12 kB / 0.965 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1605, allocations: 45.44 kB / 0.965 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1615, allocations: 279.5 kB / 0.9653 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.686e-05/0.1615, allocations: 75.92 kB / 0.9654 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.162e-05/0.1616, allocations: 16.64 kB / 0.9654 GB, free: 11.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.1617, allocations: 87.34 kB / 0.9655 GB, free: 11.5 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.1617, allocations: 0 / 0.9655 GB, free: 11.5 MB / 0.948 GB Notification: Performance of Templates: time 0.00305/0.1647, allocations: 1.726 MB / 0.9671 GB, free: 9.809 MB / 0.948 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.232442297041416]