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.00104/0.00104, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.002185, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006914/0.0006914, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008728/0.001564, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 1.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08218/1.124, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.348/2.348, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2759/2.624, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.092e-06/1.092e-06, allocations: 0 / 0.8189 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.772e-05, allocations: 10.31 kB / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001939/0.001957, allocations: 1.37 MB / 0.8202 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1281/0.1301, allocations: 142.6 MB / 0.9595 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.1301, allocations: 4 kB / 0.9595 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.1301, allocations: 3.984 kB / 0.9595 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.1302, allocations: 7.875 kB / 0.9595 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.1305, allocations: 87.5 kB / 0.9596 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.1305, allocations: 39.84 kB / 0.9596 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.1306, allocations: 0 / 0.9596 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.1306, allocations: 23.92 kB / 0.9597 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.1307, allocations: 11.97 kB / 0.9597 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1307, allocations: 8 kB / 0.9597 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.1309, allocations: 87.69 kB / 0.9598 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.1309, allocations: 4 kB / 0.9598 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.1309, allocations: 8 kB / 0.9598 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1311, allocations: 67.77 kB / 0.9598 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.1311, allocations: 0 / 0.9598 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1311, allocations: 0 / 0.9598 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.1311, allocations: 0 / 0.9598 GB, free: 1.633 MB / 0.9323 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.0003627/0.1314, allocations: 260.5 kB / 0.9601 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1315, allocations: 8.031 kB / 0.9601 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/0.1319, allocations: 109.9 kB / 0.9602 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.439e-05/0.132, allocations: 117.7 kB / 0.9603 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.132, allocations: 384 / 0.9603 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.132, allocations: 8.375 kB / 0.9603 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1321, allocations: 122.7 kB / 0.9604 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1321, allocations: 0 / 0.9604 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1322, allocations: 8 kB / 0.9604 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1322, allocations: 3.984 kB / 0.9605 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/0.1322, allocations: 8 kB / 0.9605 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.217e-05/0.1323, allocations: 61.05 kB / 0.9605 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.1324, allocations: 58.53 kB / 0.9606 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.1324, allocations: 16.84 kB / 0.9606 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-06/0.1324, allocations: 3.938 kB / 0.9606 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1324, allocations: 34.56 kB / 0.9606 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1324, allocations: 0 / 0.9606 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.0006063/0.133, allocations: 317.1 kB / 0.9609 GB, free: 368 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.1331, allocations: 59.34 kB / 0.961 GB, free: 296 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.1331, allocations: 98.7 kB / 0.9611 GB, free: 184 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.1331, allocations: 25.7 kB / 0.9611 GB, free: 152 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.1331, allocations: 88.14 kB / 0.9612 GB, free: 60 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.1332, allocations: 35.77 kB / 0.9612 GB, free: 24 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.1332, allocations: 37.73 kB / 0.9613 GB, free: 15.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.1333, allocations: 314.8 kB / 0.9616 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.1333, allocations: 7.938 kB / 0.9616 GB, free: 15.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.1334, allocations: 30.44 kB / 0.9616 GB, free: 15.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.1334, allocations: 41.69 kB / 0.9616 GB, free: 15.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1334, allocations: 0 / 0.9616 GB, free: 15.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.058e-05/0.1335, allocations: 74.17 kB / 0.9617 GB, free: 15.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1335, allocations: 4 kB / 0.9617 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1335, allocations: 4 kB / 0.9617 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1335, allocations: 0 / 0.9617 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.1336, allocations: 39.86 kB / 0.9618 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.1336, allocations: 0 / 0.9618 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.1336, allocations: 4 kB / 0.9618 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.1336, allocations: 4.078 kB / 0.9618 GB, free: 15.44 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.668e-05/0.1337, allocations: 109.8 kB / 0.9619 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.1337, allocations: 15.92 kB / 0.9619 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.1337, allocations: 7.969 kB / 0.9619 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1337, allocations: 4 kB / 0.9619 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1337, allocations: 0 / 0.9619 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1337, allocations: 0 / 0.9619 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.009e-05/0.1338, allocations: 81.89 kB / 0.962 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1338, allocations: 3.984 kB / 0.962 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.1339, allocations: 23.94 kB / 0.962 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.1339, allocations: 15.94 kB / 0.962 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1339, allocations: 3.938 kB / 0.962 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1339, allocations: 4 kB / 0.962 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1339, allocations: 3.984 kB / 0.962 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1339, allocations: 0 / 0.962 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.134, allocations: 105 kB / 0.9621 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.134, allocations: 4 kB / 0.9621 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.1341, allocations: 3.938 kB / 0.9621 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.1341, allocations: 11.98 kB / 0.9621 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1341, allocations: 4 kB / 0.9621 GB, free: 15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.108e-05/0.1341, allocations: 12.8 kB / 0.9622 GB, free: 14.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.1341, allocations: 0 / 0.9622 GB, free: 14.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001114/0.1342, allocations: 16 kB / 0.9622 GB, free: 14.97 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 9.252e-05/0.1343, allocations: 80.41 kB / 0.9622 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.1344, allocations: 52.77 kB / 0.9623 GB, free: 14.83 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.1344, allocations: 4 kB / 0.9623 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.1344, allocations: 37.03 kB / 0.9623 GB, free: 14.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1346, allocations: 30.17 kB / 0.9624 GB, free: 14.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007624/0.1353, allocations: 192.5 kB / 0.9625 GB, free: 14.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.22e-05/0.1354, allocations: 63.91 kB / 0.9626 GB, free: 14.46 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.1354, allocations: 12.73 kB / 0.9626 GB, free: 14.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.1355, allocations: 71.36 kB / 0.9627 GB, free: 14.38 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.1355, allocations: 0 / 0.9627 GB, free: 14.38 MB / 0.948 GB Notification: Performance of Templates: time 0.002515/0.138, allocations: 1.007 MB / 0.9637 GB, free: 13.39 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.441059971228242]