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.001452/0.001452, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001998/0.001998, allocations: 173 kB / 23.36 MB, free: 1.129 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 0.9472/0.9472, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.42/2.42, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.322e-06/1.322e-06, allocations: 0.9844 kB / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.9e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002231/0.00225, allocations: 1.379 MB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1287/0.131, allocations: 143.3 MB / 0.9799 GB, free: 13 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.131, allocations: 0 / 0.9799 GB, free: 13 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.648e-05/0.1311, allocations: 7.922 kB / 0.9799 GB, free: 13 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.897e-05/0.1312, allocations: 15.91 kB / 0.9799 GB, free: 12.98 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.1319, allocations: 346.1 kB / 0.9802 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.132, allocations: 67.75 kB / 0.9803 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.132, allocations: 0 / 0.9803 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.1321, allocations: 39.95 kB / 0.9803 GB, free: 12.54 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1322, allocations: 35.88 kB / 0.9804 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1322, allocations: 4 kB / 0.9804 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1327, allocations: 370.6 kB / 0.9807 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.1327, allocations: 23.91 kB / 0.9807 GB, free: 12.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.1327, allocations: 23.97 kB / 0.9808 GB, free: 12.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.133, allocations: 171.4 kB / 0.9809 GB, free: 11.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.133, allocations: 0 / 0.9809 GB, free: 11.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.133, allocations: 0 / 0.9809 GB, free: 11.92 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.133, allocations: 0 / 0.9809 GB, free: 11.92 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.0003164/0.1333, allocations: 296.2 kB / 0.9812 GB, free: 11.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1333, allocations: 8.625 kB / 0.9812 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.1336, allocations: 64.66 kB / 0.9813 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.779e-05/0.1337, allocations: 105.7 kB / 0.9814 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1337, allocations: 12.36 kB / 0.9814 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1337, allocations: 16.31 kB / 0.9814 GB, free: 11.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1338, allocations: 200.9 kB / 0.9816 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1338, allocations: 0 / 0.9816 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1338, allocations: 4 kB / 0.9816 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1338, allocations: 4 kB / 0.9816 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.1339, allocations: 27.97 kB / 0.9816 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.681e-05/0.134, allocations: 82.64 kB / 0.9817 GB, free: 11.01 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1341, allocations: 77.36 kB / 0.9818 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.1341, allocations: 20.8 kB / 0.9818 GB, free: 10.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.1342, allocations: 27.97 kB / 0.9818 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1342, allocations: 34.56 kB / 0.9819 GB, free: 10.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 7.81e-07/0.1342, allocations: 0 / 0.9819 GB, free: 10.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0008594/0.1351, allocations: 0.4909 MB / 0.9823 GB, free: 10.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1351, allocations: 59.41 kB / 0.9824 GB, free: 10.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.745e-05/0.1352, allocations: 102.7 kB / 0.9825 GB, free: 10.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1352, allocations: 29.7 kB / 0.9825 GB, free: 10.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.036e-05/0.1352, allocations: 84.5 kB / 0.9826 GB, free: 10 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-05/0.1352, allocations: 71.38 kB / 0.9827 GB, free: 9.934 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.1353, allocations: 41.69 kB / 0.9827 GB, free: 9.887 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.1354, allocations: 318.8 kB / 0.983 GB, free: 9.566 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.1354, allocations: 19.84 kB / 0.983 GB, free: 9.547 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.1354, allocations: 47.41 kB / 0.9831 GB, free: 9.488 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.825e-05/0.1355, allocations: 86.25 kB / 0.9832 GB, free: 9.391 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1355, allocations: 4 kB / 0.9832 GB, free: 9.387 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 9.412e-05/0.1356, allocations: 105.5 kB / 0.9833 GB, free: 9.277 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1356, allocations: 4 kB / 0.9833 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1356, allocations: 4 kB / 0.9833 GB, free: 9.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1356, allocations: 0 / 0.9833 GB, free: 9.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.1357, allocations: 39.97 kB / 0.9833 GB, free: 9.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1357, allocations: 3.938 kB / 0.9833 GB, free: 9.227 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.1357, allocations: 8 kB / 0.9833 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1357, allocations: 8 kB / 0.9833 GB, free: 9.211 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.655e-05/0.1358, allocations: 120.7 kB / 0.9834 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.1358, allocations: 19.92 kB / 0.9835 GB, free: 9.062 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.1358, allocations: 16.47 kB / 0.9835 GB, free: 9.043 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1358, allocations: 0 / 0.9835 GB, free: 9.043 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1358, allocations: 4.125 kB / 0.9835 GB, free: 9.039 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1358, allocations: 0 / 0.9835 GB, free: 9.039 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.14e-05/0.1359, allocations: 93.86 kB / 0.9836 GB, free: 8.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.1359, allocations: 3.938 kB / 0.9836 GB, free: 8.926 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.136, allocations: 35.98 kB / 0.9836 GB, free: 8.891 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.136, allocations: 3.938 kB / 0.9836 GB, free: 8.887 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.136, allocations: 4 kB / 0.9836 GB, free: 8.883 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.136, allocations: 8 kB / 0.9836 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.136, allocations: 0 / 0.9836 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.1362, allocations: 149 kB / 0.9838 GB, free: 8.711 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.1362, allocations: 11.95 kB / 0.9838 GB, free: 8.699 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1362, allocations: 15.86 kB / 0.9838 GB, free: 8.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.1362, allocations: 8 kB / 0.9838 GB, free: 8.676 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.1363, allocations: 11.97 kB / 0.9838 GB, free: 8.664 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1363, allocations: 0 / 0.9838 GB, free: 8.664 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.136e-06/0.1363, allocations: 12.84 kB / 0.9838 GB, free: 8.648 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1363, allocations: 0 / 0.9838 GB, free: 8.648 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001156/0.1364, allocations: 36.09 kB / 0.9839 GB, free: 8.613 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.000107/0.1365, allocations: 80.42 kB / 0.9839 GB, free: 8.527 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.122e-05/0.1366, allocations: 84.64 kB / 0.984 GB, free: 8.441 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1366, allocations: 0 / 0.984 GB, free: 8.441 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.1366, allocations: 40.78 kB / 0.9841 GB, free: 8.398 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1368, allocations: 40.42 kB / 0.9841 GB, free: 8.359 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.1373, allocations: 331.6 kB / 0.9844 GB, free: 8.008 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.1374, allocations: 72.02 kB / 0.9845 GB, free: 7.918 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.983e-05/0.1374, allocations: 20.62 kB / 0.9845 GB, free: 7.898 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.1375, allocations: 83.36 kB / 0.9846 GB, free: 7.816 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/0.1375, allocations: 0 / 0.9846 GB, free: 7.816 MB / 0.948 GB Notification: Performance of Templates: time 0.002912/0.1404, allocations: 1.613 MB / 0.9862 GB, free: 6.242 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 -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.354854337871075]