Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001033/0.001033, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001123/0.001123, allocations: 169.3 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.9271/0.9271, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.793/1.793, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.314e-05, allocations: 3.219 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002715/0.002749, allocations: 1.318 MB / 0.7883 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1587/0.1614, allocations: 142.8 MB / 0.9278 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.1615, allocations: 0 / 0.9278 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.1615, allocations: 0 / 0.9278 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.1615, allocations: 7.875 kB / 0.9278 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.1619, allocations: 87.55 kB / 0.9279 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.222e-05/0.162, allocations: 39.84 kB / 0.928 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.162, allocations: 8 kB / 0.928 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1621, allocations: 15.98 kB / 0.928 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.1621, allocations: 19.91 kB / 0.928 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1621, allocations: 0 / 0.928 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.1623, allocations: 83.69 kB / 0.9281 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.1623, allocations: 3.984 kB / 0.9281 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.1624, allocations: 15.94 kB / 0.9281 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1625, allocations: 71.8 kB / 0.9282 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1625, allocations: 0 / 0.9282 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1625, allocations: 0 / 0.9282 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1625, allocations: 4 kB / 0.9282 GB, free: 11.54 MB / 0.8855 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.0003656/0.1629, allocations: 384.2 kB / 0.9285 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1629, allocations: 8.031 kB / 0.9285 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.1631, allocations: 21.16 kB / 0.9286 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.792e-05/0.1631, allocations: 112.6 kB / 0.9287 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1632, allocations: 4.375 kB / 0.9287 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1632, allocations: 12.31 kB / 0.9287 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1633, allocations: 126.7 kB / 0.9288 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1633, allocations: 0 / 0.9288 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1633, allocations: 11.94 kB / 0.9288 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1633, allocations: 4 kB / 0.9288 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.1634, allocations: 11.98 kB / 0.9288 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.1635, allocations: 116.6 kB / 0.9289 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/0.1636, allocations: 58.98 kB / 0.929 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.1636, allocations: 15.67 kB / 0.929 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.1636, allocations: 4 kB / 0.929 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1636, allocations: 49.31 kB / 0.9291 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.1636, allocations: 0 / 0.9291 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0005362/0.1642, allocations: 293.8 kB / 0.9293 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.1642, allocations: 51.41 kB / 0.9294 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.1642, allocations: 157.9 kB / 0.9295 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1643, allocations: 29.7 kB / 0.9296 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.1643, allocations: 130.8 kB / 0.9297 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1643, allocations: 39.64 kB / 0.9297 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.1644, allocations: 35.38 kB / 0.9298 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1645, allocations: 496.1 kB / 0.9302 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.1645, allocations: 11.98 kB / 0.9303 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.1645, allocations: 41.23 kB / 0.9303 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.261e-05/0.1646, allocations: 59.42 kB / 0.9303 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1646, allocations: 0 / 0.9303 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.116e-05/0.1647, allocations: 97.5 kB / 0.9304 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1647, allocations: 5.406 kB / 0.9304 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1647, allocations: 4 kB / 0.9304 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1647, allocations: 0 / 0.9304 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.1648, allocations: 23.98 kB / 0.9305 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1648, allocations: 8.641 kB / 0.9305 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.1648, allocations: 0 / 0.9305 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1648, allocations: 4 kB / 0.9305 GB, free: 8.902 MB / 0.8855 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.33e-05/0.1649, allocations: 160.6 kB / 0.9306 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1649, allocations: 15.94 kB / 0.9307 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.1649, allocations: 7.969 kB / 0.9307 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1649, allocations: 0 / 0.9307 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1649, allocations: 0 / 0.9307 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1649, allocations: 3.984 kB / 0.9307 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.669e-05/0.165, allocations: 124.6 kB / 0.9308 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.165, allocations: 4 kB / 0.9308 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.1651, allocations: 27.86 kB / 0.9308 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.1651, allocations: 0 / 0.9308 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1651, allocations: 4 kB / 0.9308 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1651, allocations: 4 kB / 0.9308 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1651, allocations: 0 / 0.9308 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1652, allocations: 136.2 kB / 0.931 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.1652, allocations: 15.88 kB / 0.931 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.1653, allocations: 0 / 0.931 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.1653, allocations: 8 kB / 0.931 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.1653, allocations: 3.984 kB / 0.931 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1653, allocations: 4 kB / 0.931 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.1653, allocations: 119.2 kB / 0.9311 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1653, allocations: 0 / 0.9311 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001287/0.1655, allocations: 24.09 kB / 0.9311 GB, free: 8.188 MB / 0.8855 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.022e-05/0.1655, allocations: 107.2 kB / 0.9312 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.1657, allocations: 55.97 kB / 0.9313 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1657, allocations: 0 / 0.9313 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/0.1657, allocations: 39.55 kB / 0.9313 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.1658, allocations: 29.98 kB / 0.9313 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.1664, allocations: 261.9 kB / 0.9316 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.1664, allocations: 55.36 kB / 0.9316 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.1665, allocations: 12.72 kB / 0.9317 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.1665, allocations: 16.5 kB / 0.9317 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.1665, allocations: 4 kB / 0.9317 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of Templates: time 0.002433/0.1689, allocations: 0.8788 MB / 0.9325 GB, free: 6.699 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.057880512904376]