Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001283/0.001283, allocations: 80.94 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.001383/0.001383, allocations: 173.4 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 0.9886/0.9886, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.318/2.318, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.407e-05, allocations: 6.312 kB / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001538/0.001552, allocations: 1.325 MB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.131/0.1326, allocations: 142.2 MB / 0.9787 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.1326, allocations: 4 kB / 0.9787 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.1327, allocations: 0 / 0.9787 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.1327, allocations: 7.922 kB / 0.9787 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1331, allocations: 95.48 kB / 0.9788 GB, free: 14.06 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.1331, allocations: 31.86 kB / 0.9788 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.1332, allocations: 0 / 0.9788 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.1332, allocations: 31.91 kB / 0.9789 GB, free: 14 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.1333, allocations: 11.98 kB / 0.9789 GB, free: 13.99 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1333, allocations: 4 kB / 0.9789 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.1335, allocations: 83.67 kB / 0.979 GB, free: 13.9 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1335, allocations: 4 kB / 0.979 GB, free: 13.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.1335, allocations: 19.92 kB / 0.979 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1337, allocations: 63.81 kB / 0.979 GB, free: 13.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1337, allocations: 0 / 0.979 GB, free: 13.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1337, allocations: 0 / 0.979 GB, free: 13.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1337, allocations: 4 kB / 0.9791 GB, free: 13.81 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002791/0.1339, allocations: 252.5 kB / 0.9793 GB, free: 13.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.134, allocations: 12.62 kB / 0.9793 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1341, allocations: 20.86 kB / 0.9793 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.993e-05/0.1342, allocations: 109.7 kB / 0.9794 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1342, allocations: 384 / 0.9794 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1342, allocations: 12.33 kB / 0.9794 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1343, allocations: 130.7 kB / 0.9796 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1343, allocations: 3.938 kB / 0.9796 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.1343, allocations: 0 / 0.9796 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1343, allocations: 0 / 0.9796 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.1344, allocations: 19.98 kB / 0.9796 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.028e-05/0.1345, allocations: 65.03 kB / 0.9797 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/0.1345, allocations: 46.55 kB / 0.9797 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.1345, allocations: 12.84 kB / 0.9797 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.1345, allocations: 3.938 kB / 0.9797 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1346, allocations: 34.56 kB / 0.9797 GB, free: 13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 6.51e-07/0.1346, allocations: 0 / 0.9797 GB, free: 13 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0005489/0.1351, allocations: 309.2 kB / 0.98 GB, free: 12.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1351, allocations: 55.41 kB / 0.9801 GB, free: 12.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.259e-05/0.1352, allocations: 94.72 kB / 0.9802 GB, free: 12.49 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1352, allocations: 33.69 kB / 0.9802 GB, free: 12.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.1352, allocations: 92.27 kB / 0.9803 GB, free: 12.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1353, allocations: 39.64 kB / 0.9803 GB, free: 12.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.1353, allocations: 29.69 kB / 0.9804 GB, free: 12.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.1354, allocations: 318.8 kB / 0.9807 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.1354, allocations: 11.98 kB / 0.9807 GB, free: 11.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.1354, allocations: 32.53 kB / 0.9807 GB, free: 11.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.1354, allocations: 41.67 kB / 0.9808 GB, free: 11.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1354, allocations: 4 kB / 0.9808 GB, free: 11.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.763e-05/0.1355, allocations: 74.08 kB / 0.9808 GB, free: 11.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1355, allocations: 4 kB / 0.9808 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1355, allocations: 4 kB / 0.9808 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1355, allocations: 4 kB / 0.9808 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.1356, allocations: 19.98 kB / 0.9809 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1356, allocations: 4.156 kB / 0.9809 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.1356, allocations: 11.94 kB / 0.9809 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.1356, allocations: 3.984 kB / 0.9809 GB, free: 11.73 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.054e-05/0.1357, allocations: 113.8 kB / 0.981 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.1357, allocations: 11.92 kB / 0.981 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.1357, allocations: 11.97 kB / 0.981 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1357, allocations: 4 kB / 0.981 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1357, allocations: 4 kB / 0.981 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1357, allocations: 3.984 kB / 0.981 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.411e-05/0.1358, allocations: 77.89 kB / 0.9811 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1358, allocations: 0 / 0.9811 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.1359, allocations: 19.98 kB / 0.9811 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1359, allocations: 4 kB / 0.9811 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1359, allocations: 0 / 0.9811 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1359, allocations: 7.875 kB / 0.9811 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1359, allocations: 0 / 0.9811 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.136, allocations: 105.1 kB / 0.9812 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.136, allocations: 11.94 kB / 0.9812 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.136, allocations: 4 kB / 0.9812 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.1361, allocations: 11.94 kB / 0.9813 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.1361, allocations: 3.984 kB / 0.9813 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.1361, allocations: 4 kB / 0.9813 GB, free: 11.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.074e-06/0.1361, allocations: 4.859 kB / 0.9813 GB, free: 11.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1361, allocations: 0 / 0.9813 GB, free: 11.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001003/0.1362, allocations: 20 kB / 0.9813 GB, free: 11.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 8.281e-05/0.1363, allocations: 84.36 kB / 0.9814 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.49e-05/0.1363, allocations: 48.91 kB / 0.9814 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1363, allocations: 0 / 0.9814 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.1363, allocations: 24.8 kB / 0.9814 GB, free: 11.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.1365, allocations: 23.98 kB / 0.9815 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.1369, allocations: 228 kB / 0.9817 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.767e-05/0.1369, allocations: 59.36 kB / 0.9817 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.289e-05/0.137, allocations: 16.75 kB / 0.9817 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.1373, allocations: 75.36 kB / 0.9818 GB, free: 10.66 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.1373, allocations: 0 / 0.9818 GB, free: 10.66 MB / 0.948 GB Notification: Performance of Templates: time 0.002245/0.1396, allocations: 0.9432 MB / 0.9827 GB, free: 9.738 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.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.363570591900498]