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.0009608/0.0009608, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001116/0.001116, allocations: 173 kB / 23.36 MB, free: 1.129 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.985/0.985, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.516/2.516, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.543e-06/1.543e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.158e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002036/0.002058, allocations: 1.363 MB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1364/0.1384, allocations: 142.2 MB / 0.9788 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.1385, allocations: 0 / 0.9788 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.1385, allocations: 3.938 kB / 0.9788 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.1385, allocations: 4 kB / 0.9788 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1389, allocations: 95.42 kB / 0.9789 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.139, allocations: 39.84 kB / 0.9789 GB, free: 13.94 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.139, allocations: 0 / 0.9789 GB, free: 13.94 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.1391, allocations: 19.98 kB / 0.9789 GB, free: 13.92 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.1392, allocations: 11.97 kB / 0.979 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1392, allocations: 4 kB / 0.979 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1394, allocations: 83.69 kB / 0.979 GB, free: 13.82 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.1394, allocations: 7.984 kB / 0.979 GB, free: 13.82 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.1394, allocations: 11.98 kB / 0.9791 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1396, allocations: 83.67 kB / 0.9791 GB, free: 13.72 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1396, allocations: 0 / 0.9791 GB, free: 13.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.001e-06/0.1396, allocations: 0 / 0.9791 GB, free: 13.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1396, allocations: 0 / 0.9791 GB, free: 13.72 MB / 0.948 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.0002722/0.1398, allocations: 248.5 kB / 0.9794 GB, free: 13.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1399, allocations: 8.625 kB / 0.9794 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.14, allocations: 20.86 kB / 0.9794 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.1401, allocations: 113.7 kB / 0.9795 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1401, allocations: 384 / 0.9795 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1401, allocations: 16.31 kB / 0.9795 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.1405, allocations: 134.7 kB / 0.9797 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1405, allocations: 0 / 0.9797 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1405, allocations: 8 kB / 0.9797 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1405, allocations: 3.938 kB / 0.9797 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.628e-05/0.1406, allocations: 11.98 kB / 0.9797 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.299e-05/0.1406, allocations: 65.05 kB / 0.9797 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.1407, allocations: 38.62 kB / 0.9798 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.1407, allocations: 12.86 kB / 0.9798 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.1407, allocations: 3.984 kB / 0.9798 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1407, allocations: 34.56 kB / 0.9798 GB, free: 12.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 7.31e-07/0.1408, allocations: 4 kB / 0.9798 GB, free: 12.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0005713/0.1413, allocations: 324.6 kB / 0.9801 GB, free: 12.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.1413, allocations: 55.39 kB / 0.9802 GB, free: 12.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.1414, allocations: 98.72 kB / 0.9803 GB, free: 12.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1414, allocations: 25.7 kB / 0.9803 GB, free: 12.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/0.1414, allocations: 84.14 kB / 0.9804 GB, free: 12.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1415, allocations: 43.62 kB / 0.9804 GB, free: 12.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1415, allocations: 29.72 kB / 0.9805 GB, free: 12.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.1416, allocations: 318.8 kB / 0.9808 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.1416, allocations: 8 kB / 0.9808 GB, free: 11.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.1416, allocations: 29.69 kB / 0.9808 GB, free: 11.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.1416, allocations: 45.75 kB / 0.9808 GB, free: 11.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1416, allocations: 0 / 0.9808 GB, free: 11.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.686e-05/0.1417, allocations: 78.08 kB / 0.9809 GB, free: 11.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1417, allocations: 4 kB / 0.9809 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1417, allocations: 0 / 0.9809 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1417, allocations: 0 / 0.9809 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.1418, allocations: 27.98 kB / 0.9809 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1418, allocations: 4 kB / 0.981 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.1418, allocations: 0 / 0.981 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1418, allocations: 0 / 0.981 GB, free: 11.66 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.644e-05/0.1419, allocations: 125.7 kB / 0.9811 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.1419, allocations: 15.92 kB / 0.9811 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.1419, allocations: 7.969 kB / 0.9811 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1419, allocations: 4 kB / 0.9811 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.1419, allocations: 0 / 0.9811 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1419, allocations: 0 / 0.9811 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.158e-05/0.142, allocations: 81.88 kB / 0.9812 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.142, allocations: 0 / 0.9812 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.1421, allocations: 20 kB / 0.9812 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1421, allocations: 0 / 0.9812 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1421, allocations: 3.984 kB / 0.9812 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1421, allocations: 7.938 kB / 0.9812 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1421, allocations: 0 / 0.9812 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.1422, allocations: 105 kB / 0.9813 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.1422, allocations: 11.95 kB / 0.9813 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1422, allocations: 8 kB / 0.9813 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.1423, allocations: 3.938 kB / 0.9813 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.1423, allocations: 11.92 kB / 0.9813 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1423, allocations: 4 kB / 0.9813 GB, free: 11.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.355e-06/0.1423, allocations: 4.859 kB / 0.9814 GB, free: 11.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1423, allocations: 4 kB / 0.9814 GB, free: 11.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001116/0.1424, allocations: 16.09 kB / 0.9814 GB, free: 11.18 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 8.196e-05/0.1425, allocations: 84.41 kB / 0.9814 GB, free: 11.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.435e-05/0.1426, allocations: 44.94 kB / 0.9815 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1426, allocations: 4 kB / 0.9815 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.1426, allocations: 36.77 kB / 0.9815 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1427, allocations: 17.48 kB / 0.9815 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.1432, allocations: 228.1 kB / 0.9818 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.896e-05/0.1432, allocations: 59.34 kB / 0.9818 GB, free: 10.65 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.1433, allocations: 8.734 kB / 0.9818 GB, free: 10.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.1433, allocations: 71.36 kB / 0.9819 GB, free: 10.57 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.1433, allocations: 0 / 0.9819 GB, free: 10.57 MB / 0.948 GB Notification: Performance of Templates: time 0.002494/0.1458, allocations: 0.9432 MB / 0.9828 GB, free: 9.656 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 -s gbode -gbm=radauIIA3 -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.5087524224072695]