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.001119/0.001119, 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.001172/0.001172, allocations: 165 kB / 23.02 MB, free: 1.547 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 1.032/1.032, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.155/2.155, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.463e-06/1.463e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.513e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00181/0.001835, allocations: 1.331 MB / 0.8794 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1469/0.1488, allocations: 142.8 MB / 1.019 GB, free: 5.727 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.1488, allocations: 0 / 1.019 GB, free: 5.727 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.1488, allocations: 0 / 1.019 GB, free: 5.727 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.1489, allocations: 7.938 kB / 1.019 GB, free: 5.719 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.1493, allocations: 99.44 kB / 1.019 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.1494, allocations: 39.83 kB / 1.019 GB, free: 5.582 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.1494, allocations: 0 / 1.019 GB, free: 5.582 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.1495, allocations: 19.98 kB / 1.019 GB, free: 5.562 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.1495, allocations: 11.97 kB / 1.019 GB, free: 5.551 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1495, allocations: 0 / 1.019 GB, free: 5.551 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.1497, allocations: 75.77 kB / 1.019 GB, free: 5.477 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.1498, allocations: 15.91 kB / 1.019 GB, free: 5.461 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.1498, allocations: 8 kB / 1.019 GB, free: 5.453 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1499, allocations: 75.75 kB / 1.019 GB, free: 5.379 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1499, allocations: 0 / 1.019 GB, free: 5.379 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1499, allocations: 0 / 1.019 GB, free: 5.379 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1499, allocations: 3.938 kB / 1.019 GB, free: 5.375 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.0003621/0.1503, allocations: 392.4 kB / 1.02 GB, free: 4.957 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1503, allocations: 8.031 kB / 1.02 GB, free: 4.949 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.1505, allocations: 16.88 kB / 1.02 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.1506, allocations: 120.5 kB / 1.02 GB, free: 4.789 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1506, allocations: 4.375 kB / 1.02 GB, free: 4.785 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.1506, allocations: 8.375 kB / 1.02 GB, free: 4.777 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1508, allocations: 130.7 kB / 1.02 GB, free: 4.625 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1508, allocations: 4 kB / 1.02 GB, free: 4.621 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1508, allocations: 0 / 1.02 GB, free: 4.621 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.1508, allocations: 0 / 1.02 GB, free: 4.621 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.1508, allocations: 19.95 kB / 1.02 GB, free: 4.602 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.151, allocations: 116.6 kB / 1.02 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.151, allocations: 51.05 kB / 1.02 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.1511, allocations: 19.67 kB / 1.02 GB, free: 4.367 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.1511, allocations: 0 / 1.02 GB, free: 4.367 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1511, allocations: 49.27 kB / 1.02 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 6.72e-07/0.1511, allocations: 4 kB / 1.02 GB, free: 4.305 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.0005971/0.1517, allocations: 294.3 kB / 1.02 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1517, allocations: 55.41 kB / 1.02 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.1518, allocations: 149.9 kB / 1.021 GB, free: 3.75 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1518, allocations: 29.7 kB / 1.021 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.1518, allocations: 130.9 kB / 1.021 GB, free: 3.582 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1519, allocations: 39.64 kB / 1.021 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.1519, allocations: 35.36 kB / 1.021 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.152, allocations: 0.4885 MB / 1.021 GB, free: 3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.1521, allocations: 19.98 kB / 1.021 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.1521, allocations: 42.3 kB / 1.021 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.1522, allocations: 55.36 kB / 1.021 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1522, allocations: 0 / 1.021 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001109/0.1523, allocations: 93.53 kB / 1.022 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1523, allocations: 8 kB / 1.022 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1523, allocations: 0 / 1.022 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1523, allocations: 0 / 1.022 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1524, allocations: 24 kB / 1.022 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1524, allocations: 0 / 1.022 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.1525, allocations: 7.984 kB / 1.022 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1525, allocations: 4 kB / 1.022 GB, free: 2.73 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 7.564e-05/0.1525, allocations: 164.5 kB / 1.022 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.1526, allocations: 15.89 kB / 1.022 GB, free: 2.543 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.1526, allocations: 7.969 kB / 1.022 GB, free: 2.535 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1526, allocations: 4 kB / 1.022 GB, free: 2.531 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1526, allocations: 0 / 1.022 GB, free: 2.531 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1526, allocations: 0 / 1.022 GB, free: 2.531 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.53e-05/0.1527, allocations: 128.6 kB / 1.022 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1527, allocations: 0 / 1.022 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.1528, allocations: 23.94 kB / 1.022 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1528, allocations: 7.938 kB / 1.022 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1528, allocations: 3.984 kB / 1.022 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1528, allocations: 0 / 1.022 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1528, allocations: 0 / 1.022 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.153, allocations: 132.3 kB / 1.022 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.153, allocations: 11.92 kB / 1.022 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.153, allocations: 4 kB / 1.022 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/0.1531, allocations: 4 kB / 1.022 GB, free: 2.164 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.1531, allocations: 7.984 kB / 1.022 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1531, allocations: 4 kB / 1.022 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.1531, allocations: 123.2 kB / 1.022 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1531, allocations: 0 / 1.022 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001966/0.1533, allocations: 19.94 kB / 1.022 GB, free: 2.012 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 9.281e-05/0.1534, allocations: 103.2 kB / 1.022 GB, free: 1.902 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1535, allocations: 51.66 kB / 1.022 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1535, allocations: 0 / 1.022 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.1536, allocations: 35.61 kB / 1.022 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1538, allocations: 36.47 kB / 1.022 GB, free: 1.773 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.1544, allocations: 265.8 kB / 1.023 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.1544, allocations: 63.34 kB / 1.023 GB, free: 1.402 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.61e-05/0.1544, allocations: 12.72 kB / 1.023 GB, free: 1.391 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.1545, allocations: 12.5 kB / 1.023 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of SimCode: time 4.71e-07/0.1545, allocations: 0 / 1.023 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of Templates: time 0.002534/0.157, allocations: 0.8527 MB / 1.024 GB, free: 0.5508 MB / 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.838710265699774]