Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001148/0.001148, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.00145/0.00145, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9523/0.9523, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.87/1.87, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 4 kB / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.343e-05, allocations: 5.75 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001871/0.001894, allocations: 1.335 MB / 0.8128 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1291/0.131, allocations: 142.8 MB / 0.9523 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.131, allocations: 0 / 0.9523 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.1311, allocations: 3.938 kB / 0.9523 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.1311, allocations: 7.922 kB / 0.9523 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.1317, allocations: 99.42 kB / 0.9524 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1318, allocations: 27.92 kB / 0.9524 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.1318, allocations: 7.938 kB / 0.9524 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.1319, allocations: 23.97 kB / 0.9524 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.1319, allocations: 7.984 kB / 0.9524 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.132, allocations: 4 kB / 0.9524 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.1322, allocations: 75.75 kB / 0.9525 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.1322, allocations: 15.92 kB / 0.9525 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.1323, allocations: 8 kB / 0.9525 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1324, allocations: 75.73 kB / 0.9526 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1324, allocations: 0 / 0.9526 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1324, allocations: 0 / 0.9526 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1324, allocations: 4 kB / 0.9526 GB, free: 0.793 MB / 0.9011 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.0003831/0.1328, allocations: 380.1 kB / 0.953 GB, free: 396 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1329, allocations: 8.031 kB / 0.953 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.1331, allocations: 25.17 kB / 0.953 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.1331, allocations: 112.5 kB / 0.9531 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1332, allocations: 4.375 kB / 0.9531 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.1332, allocations: 8.375 kB / 0.9531 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1334, allocations: 126.7 kB / 0.9533 GB, free: 60 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1334, allocations: 3.984 kB / 0.9533 GB, free: 56 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1334, allocations: 4 kB / 0.9533 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1334, allocations: 0 / 0.9533 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.1334, allocations: 15.92 kB / 0.9533 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.1336, allocations: 128.6 kB / 0.9534 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.555e-05/0.1337, allocations: 47.05 kB / 0.9534 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.1337, allocations: 23.67 kB / 0.9535 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.1337, allocations: 0 / 0.9535 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1337, allocations: 41.33 kB / 0.9535 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1337, allocations: 0 / 0.9535 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0006189/0.1344, allocations: 297.5 kB / 0.9538 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1344, allocations: 51.41 kB / 0.9538 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.1345, allocations: 153.9 kB / 0.954 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1345, allocations: 29.7 kB / 0.954 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.1345, allocations: 130.9 kB / 0.9541 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.1345, allocations: 43.88 kB / 0.9542 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.1346, allocations: 35.36 kB / 0.9542 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1347, allocations: 496.1 kB / 0.9547 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.1347, allocations: 15.98 kB / 0.9547 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.1348, allocations: 39.36 kB / 0.9547 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.1348, allocations: 59.44 kB / 0.9548 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1348, allocations: 0 / 0.9548 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001057/0.1349, allocations: 101.5 kB / 0.9549 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1349, allocations: 4 kB / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1349, allocations: 0.7031 kB / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.135, allocations: 0 / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.1351, allocations: 23.98 kB / 0.9549 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.1351, allocations: 0 / 0.9549 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.1351, allocations: 4 kB / 0.9549 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1351, allocations: 4 kB / 0.9549 GB, free: 14.16 MB / 0.9167 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 9.047e-05/0.1352, allocations: 168.5 kB / 0.9551 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.1352, allocations: 11.92 kB / 0.9551 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.1352, allocations: 11.97 kB / 0.9551 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1352, allocations: 4 kB / 0.9551 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1353, allocations: 0 / 0.9551 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1353, allocations: 0 / 0.9551 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.1353, allocations: 120.6 kB / 0.9552 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1353, allocations: 4 kB / 0.9552 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.1354, allocations: 27.92 kB / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1354, allocations: 0 / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1355, allocations: 4 kB / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1355, allocations: 4 kB / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1355, allocations: 0 / 0.9553 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.1356, allocations: 136.2 kB / 0.9554 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.1357, allocations: 11.88 kB / 0.9554 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1357, allocations: 8 kB / 0.9554 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.1358, allocations: 0 / 0.9554 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.1358, allocations: 7.984 kB / 0.9554 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1358, allocations: 8 kB / 0.9554 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.1358, allocations: 119.2 kB / 0.9555 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1358, allocations: 96 / 0.9555 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001346/0.136, allocations: 20 kB / 0.9556 GB, free: 13.44 MB / 0.9167 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 0.0001001/0.1361, allocations: 99.25 kB / 0.9557 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1362, allocations: 63.52 kB / 0.9557 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1362, allocations: 0 / 0.9557 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-05/0.1362, allocations: 35.61 kB / 0.9558 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.1364, allocations: 15.98 kB / 0.9558 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.137, allocations: 277.8 kB / 0.956 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.1371, allocations: 63.92 kB / 0.9561 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.751e-05/0.1371, allocations: 12.72 kB / 0.9561 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.1371, allocations: 12.5 kB / 0.9561 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of SimCode: time 8.31e-07/0.1371, allocations: 4 kB / 0.9561 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.002828/0.14, allocations: 0.8855 MB / 0.957 GB, free: 11.95 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.132101141382009]