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.0009052/0.0009052, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001077/0.001077, allocations: 169 kB / 23.02 MB, free: 1.543 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.9729/0.9729, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.017/2.017, allocations: 429.5 MB / 0.6732 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.453e-06/1.453e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.322e-05, allocations: 7.562 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001625/0.001648, allocations: 1.333 MB / 0.8794 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.1323, allocations: 142.8 MB / 1.019 GB, free: 5.684 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.1324, allocations: 0 / 1.019 GB, free: 5.684 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.1324, allocations: 7.875 kB / 1.019 GB, free: 5.676 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.1324, allocations: 7.984 kB / 1.019 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1329, allocations: 103.4 kB / 1.019 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.1329, allocations: 31.86 kB / 1.019 GB, free: 5.535 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.133, allocations: 0 / 1.019 GB, free: 5.535 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.133, allocations: 23.97 kB / 1.019 GB, free: 5.512 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.1331, allocations: 11.98 kB / 1.019 GB, free: 5.5 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1331, allocations: 0 / 1.019 GB, free: 5.5 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.1333, allocations: 83.69 kB / 1.019 GB, free: 5.418 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1333, allocations: 7.984 kB / 1.019 GB, free: 5.41 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1334, allocations: 11.98 kB / 1.019 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1335, allocations: 75.69 kB / 1.019 GB, free: 5.324 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1335, allocations: 7.984 kB / 1.019 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1335, allocations: 0 / 1.019 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1335, allocations: 0 / 1.019 GB, free: 5.316 MB / 0.9792 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.0003559/0.1339, allocations: 384.5 kB / 1.02 GB, free: 4.906 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1339, allocations: 8.031 kB / 1.02 GB, free: 4.898 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.1341, allocations: 20.86 kB / 1.02 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.708e-05/0.1341, allocations: 112.5 kB / 1.02 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1342, allocations: 8.375 kB / 1.02 GB, free: 4.734 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1342, allocations: 4.375 kB / 1.02 GB, free: 4.73 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1343, allocations: 130.7 kB / 1.02 GB, free: 4.578 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1343, allocations: 0 / 1.02 GB, free: 4.578 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1343, allocations: 4 kB / 1.02 GB, free: 4.574 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1343, allocations: 0 / 1.02 GB, free: 4.574 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.636e-05/0.1344, allocations: 19.92 kB / 1.02 GB, free: 4.555 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.1345, allocations: 116.6 kB / 1.02 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 7.516e-05/0.1346, allocations: 55.09 kB / 1.02 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.1346, allocations: 23.67 kB / 1.02 GB, free: 4.312 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.475e-06/0.1346, allocations: 0 / 1.02 GB, free: 4.312 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1346, allocations: 37.33 kB / 1.02 GB, free: 4.266 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.1346, allocations: 4 kB / 1.02 GB, free: 4.262 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.0005558/0.1352, allocations: 301.3 kB / 1.02 GB, free: 3.934 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.1352, allocations: 55.41 kB / 1.02 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.1353, allocations: 153.9 kB / 1.021 GB, free: 3.699 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1353, allocations: 29.7 kB / 1.021 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.1353, allocations: 130.9 kB / 1.021 GB, free: 3.531 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.1355, allocations: 43.78 kB / 1.021 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.1355, allocations: 31.38 kB / 1.021 GB, free: 3.449 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.1356, allocations: 0.4884 MB / 1.021 GB, free: 2.949 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.1357, allocations: 16.12 kB / 1.021 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.1357, allocations: 38.11 kB / 1.021 GB, free: 2.891 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/0.1358, allocations: 63.83 kB / 1.021 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1358, allocations: 0 / 1.021 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.4e-05/0.1359, allocations: 89.55 kB / 1.022 GB, free: 2.727 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1359, allocations: 10.66 kB / 1.022 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1359, allocations: 0 / 1.022 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1359, allocations: 0 / 1.022 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.136, allocations: 23.98 kB / 1.022 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.136, allocations: 0 / 1.022 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.136, allocations: 4 kB / 1.022 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.136, allocations: 8 kB / 1.022 GB, free: 2.684 MB / 0.9792 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 6.874e-05/0.1361, allocations: 164.5 kB / 1.022 GB, free: 2.512 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.1361, allocations: 11.89 kB / 1.022 GB, free: 2.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.1361, allocations: 15.97 kB / 1.022 GB, free: 2.484 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1361, allocations: 4 kB / 1.022 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1361, allocations: 0 / 1.022 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1361, allocations: 7.922 kB / 1.022 GB, free: 2.473 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.306e-05/0.1362, allocations: 116.6 kB / 1.022 GB, free: 2.324 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1362, allocations: 0 / 1.022 GB, free: 2.324 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.1363, allocations: 27.92 kB / 1.022 GB, free: 2.297 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1363, allocations: 8 kB / 1.022 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1363, allocations: 0 / 1.022 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1363, allocations: 0 / 1.022 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1363, allocations: 0 / 1.022 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1364, allocations: 132.3 kB / 1.022 GB, free: 2.137 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.1365, allocations: 11.92 kB / 1.022 GB, free: 2.125 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1365, allocations: 4 kB / 1.022 GB, free: 2.121 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.1365, allocations: 4 kB / 1.022 GB, free: 2.117 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.1365, allocations: 11.92 kB / 1.022 GB, free: 2.105 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1365, allocations: 0 / 1.022 GB, free: 2.105 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.1366, allocations: 127.2 kB / 1.022 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1366, allocations: 0 / 1.022 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001333/0.1367, allocations: 16 kB / 1.022 GB, free: 1.965 MB / 0.9792 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.603e-05/0.1368, allocations: 103.2 kB / 1.022 GB, free: 1.855 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1369, allocations: 51.61 kB / 1.022 GB, free: 1.801 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1369, allocations: 0 / 1.022 GB, free: 1.801 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.1369, allocations: 35.61 kB / 1.022 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.1371, allocations: 32 kB / 1.022 GB, free: 1.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.1377, allocations: 270.2 kB / 1.023 GB, free: 1.438 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.1377, allocations: 63.34 kB / 1.023 GB, free: 1.355 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.1378, allocations: 12.73 kB / 1.023 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.1378, allocations: 12.5 kB / 1.023 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of SimCode: time 9.11e-07/0.1378, allocations: 0 / 1.023 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of Templates: time 0.002501/0.1403, allocations: 0.8863 MB / 1.024 GB, free: 480 kB / 0.9792 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.364556631073356]