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.0009655/0.0009655, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001043/0.001043, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.023/1.023, allocations: 177.2 MB / 203.8 MB, free: 5.465 MB / 186.7 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.575/2.575, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.191e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002936/0.002968, allocations: 1.423 MB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.1439, allocations: 143.4 MB / 0.98 GB, free: 12.85 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.1439, allocations: 0 / 0.98 GB, free: 12.85 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/0.144, allocations: 7.938 kB / 0.98 GB, free: 12.84 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.1441, allocations: 11.91 kB / 0.98 GB, free: 12.83 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000709/0.1448, allocations: 334.2 kB / 0.9803 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1449, allocations: 75.69 kB / 0.9804 GB, free: 12.43 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.145, allocations: 4 kB / 0.9804 GB, free: 12.42 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.145, allocations: 35.95 kB / 0.9804 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.1451, allocations: 31.89 kB / 0.9804 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.1451, allocations: 4 kB / 0.9804 GB, free: 12.35 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.1457, allocations: 378.6 kB / 0.9808 GB, free: 11.98 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.1457, allocations: 19.91 kB / 0.9808 GB, free: 11.96 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1457, allocations: 16 kB / 0.9808 GB, free: 11.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.146, allocations: 171.4 kB / 0.981 GB, free: 11.78 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.146, allocations: 4 kB / 0.981 GB, free: 11.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.146, allocations: 0 / 0.981 GB, free: 11.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.146, allocations: 0 / 0.981 GB, free: 11.77 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.0003232/0.1463, allocations: 292.2 kB / 0.9813 GB, free: 11.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1463, allocations: 8.625 kB / 0.9813 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.1466, allocations: 68.62 kB / 0.9814 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.1467, allocations: 105.7 kB / 0.9815 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1467, allocations: 8.375 kB / 0.9815 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1467, allocations: 16.33 kB / 0.9815 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1469, allocations: 208.9 kB / 0.9817 GB, free: 11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1469, allocations: 0 / 0.9817 GB, free: 11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1469, allocations: 8 kB / 0.9817 GB, free: 10.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1469, allocations: 0 / 0.9817 GB, free: 10.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.147, allocations: 27.95 kB / 0.9817 GB, free: 10.96 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.1471, allocations: 74.7 kB / 0.9818 GB, free: 10.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1472, allocations: 73.34 kB / 0.9819 GB, free: 10.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.1472, allocations: 21.19 kB / 0.9819 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.1473, allocations: 31.91 kB / 0.9819 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1473, allocations: 42.5 kB / 0.982 GB, free: 10.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1473, allocations: 0 / 0.982 GB, free: 10.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0008835/0.1482, allocations: 495.5 kB / 0.9824 GB, free: 10.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1482, allocations: 59.34 kB / 0.9825 GB, free: 10.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.79e-05/0.1483, allocations: 102.7 kB / 0.9826 GB, free: 9.984 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1483, allocations: 29.7 kB / 0.9826 GB, free: 9.949 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.1483, allocations: 84.5 kB / 0.9827 GB, free: 9.863 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.1484, allocations: 71.38 kB / 0.9828 GB, free: 9.793 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1484, allocations: 45.55 kB / 0.9828 GB, free: 9.742 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.1485, allocations: 318.9 kB / 0.9831 GB, free: 9.422 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.1485, allocations: 20 kB / 0.9831 GB, free: 9.402 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.1485, allocations: 55.25 kB / 0.9832 GB, free: 9.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.298e-05/0.1486, allocations: 82.14 kB / 0.9833 GB, free: 9.246 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1486, allocations: 0 / 0.9833 GB, free: 9.246 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001046/0.1487, allocations: 109.6 kB / 0.9834 GB, free: 9.133 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1487, allocations: 6.031 kB / 0.9834 GB, free: 9.129 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1487, allocations: 4 kB / 0.9834 GB, free: 9.125 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1488, allocations: 4 kB / 0.9834 GB, free: 9.121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.1488, allocations: 39.98 kB / 0.9834 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.1488, allocations: 4 kB / 0.9834 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.1489, allocations: 4 kB / 0.9834 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1489, allocations: 11.94 kB / 0.9834 GB, free: 9.062 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 6.127e-05/0.1489, allocations: 116.7 kB / 0.9835 GB, free: 8.938 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.149, allocations: 19.92 kB / 0.9836 GB, free: 8.918 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.149, allocations: 16.47 kB / 0.9836 GB, free: 8.898 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.149, allocations: 4 kB / 0.9836 GB, free: 8.895 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.149, allocations: 0 / 0.9836 GB, free: 8.895 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.149, allocations: 3.984 kB / 0.9836 GB, free: 8.891 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.469e-05/0.1491, allocations: 85.89 kB / 0.9837 GB, free: 8.789 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1491, allocations: 0 / 0.9837 GB, free: 8.789 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1492, allocations: 43.92 kB / 0.9837 GB, free: 8.746 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1492, allocations: 3.938 kB / 0.9837 GB, free: 8.742 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1492, allocations: 4 kB / 0.9837 GB, free: 8.738 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1492, allocations: 4 kB / 0.9837 GB, free: 8.734 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1492, allocations: 0 / 0.9837 GB, free: 8.734 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.1493, allocations: 146.6 kB / 0.9839 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.1494, allocations: 15.92 kB / 0.9839 GB, free: 8.555 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1494, allocations: 11.94 kB / 0.9839 GB, free: 8.543 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.1494, allocations: 8 kB / 0.9839 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.1494, allocations: 15.91 kB / 0.9839 GB, free: 8.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1495, allocations: 4 kB / 0.9839 GB, free: 8.516 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.206e-06/0.1495, allocations: 12.86 kB / 0.9839 GB, free: 8.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1495, allocations: 0 / 0.9839 GB, free: 8.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001186/0.1496, allocations: 28 kB / 0.984 GB, free: 8.473 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 9.964e-05/0.1497, allocations: 80.42 kB / 0.984 GB, free: 8.387 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.1498, allocations: 76.72 kB / 0.9841 GB, free: 8.309 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1498, allocations: 3.938 kB / 0.9841 GB, free: 8.305 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.1498, allocations: 54.05 kB / 0.9842 GB, free: 8.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1499, allocations: 36.75 kB / 0.9842 GB, free: 8.215 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.1505, allocations: 335.3 kB / 0.9845 GB, free: 7.859 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.1505, allocations: 68.08 kB / 0.9846 GB, free: 7.773 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.182e-05/0.1506, allocations: 16.62 kB / 0.9846 GB, free: 7.758 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.1507, allocations: 87.36 kB / 0.9847 GB, free: 7.672 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.1507, allocations: 4 kB / 0.9847 GB, free: 7.668 MB / 0.948 GB Notification: Performance of Templates: time 0.003045/0.1537, allocations: 1.621 MB / 0.9863 GB, free: 6.082 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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.555814877618104]