Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.0009273/0.0009273, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009225/0.0009225, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9814/0.9814, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.89/1.89, allocations: 377.8 MB / 0.6239 GB, free: 8.578 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.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.732e-05, allocations: 3.297 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1482/0.1482, allocations: 143.4 MB / 0.9516 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.1483, allocations: 51.75 kB / 0.9516 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.1484, allocations: 0 / 0.9516 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1485, allocations: 11.88 kB / 0.9516 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.1486, allocations: 7.969 kB / 0.9517 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.1491, allocations: 115.5 kB / 0.9518 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1492, allocations: 35.83 kB / 0.9518 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.1492, allocations: 0 / 0.9518 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.1493, allocations: 23.97 kB / 0.9518 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.1493, allocations: 15.92 kB / 0.9518 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1494, allocations: 0 / 0.9518 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.1496, allocations: 71.73 kB / 0.9519 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1496, allocations: 11.92 kB / 0.9519 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.1496, allocations: 8 kB / 0.9519 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1498, allocations: 75.78 kB / 0.952 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1498, allocations: 0 / 0.952 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1498, allocations: 0 / 0.952 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1498, allocations: 0 / 0.952 GB, free: 1.777 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003733/0.1502, allocations: 360.6 kB / 0.9523 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1502, allocations: 12.03 kB / 0.9524 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.1505, allocations: 24.81 kB / 0.9524 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.898e-05/0.1505, allocations: 116.6 kB / 0.9525 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.1506, allocations: 55.97 kB / 0.9525 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.1506, allocations: 16.06 kB / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1507, allocations: 76.09 kB / 0.9526 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1508, allocations: 3.984 kB / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1508, allocations: 0 / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.1508, allocations: 0 / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.1508, allocations: 11.98 kB / 0.9526 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.1511, allocations: 259.8 kB / 0.9529 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.1512, allocations: 35 kB / 0.9529 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.1512, allocations: 7.688 kB / 0.9529 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-06/0.1512, allocations: 4.062 kB / 0.9529 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1512, allocations: 33.39 kB / 0.953 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1512, allocations: 0 / 0.953 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.1514, allocations: 33.66 kB / 0.953 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1514, allocations: 55.41 kB / 0.9531 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.1515, allocations: 165.9 kB / 0.9532 GB, free: 356 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1515, allocations: 29.7 kB / 0.9532 GB, free: 320 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.1515, allocations: 134.8 kB / 0.9534 GB, free: 180 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.1515, allocations: 16 kB / 0.9534 GB, free: 164 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.1516, allocations: 23.38 kB / 0.9534 GB, free: 132 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1517, allocations: 0.4883 MB / 0.9539 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.1517, allocations: 256 / 0.9539 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.1517, allocations: 35.05 kB / 0.9539 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.1518, allocations: 42.94 kB / 0.954 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1518, allocations: 0 / 0.954 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.835e-05/0.1518, allocations: 53.64 kB / 0.954 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1518, allocations: 7.984 kB / 0.954 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1518, allocations: 0 / 0.954 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1519, allocations: 4 kB / 0.954 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.1519, allocations: 4 kB / 0.954 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1519, allocations: 0 / 0.954 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.1519, allocations: 7.953 kB / 0.954 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1519, allocations: 4 kB / 0.954 GB, free: 15.44 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.423e-05/0.152, allocations: 160.5 kB / 0.9542 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.152, allocations: 0 / 0.9542 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.152, allocations: 11.25 kB / 0.9542 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.152, allocations: 3.984 kB / 0.9542 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.152, allocations: 0 / 0.9542 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.152, allocations: 0 / 0.9542 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.1522, allocations: 404.3 kB / 0.9546 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1522, allocations: 0 / 0.9546 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-06/0.1522, allocations: 4 kB / 0.9546 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.1522, allocations: 0 / 0.9546 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.1522, allocations: 0 / 0.9546 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1522, allocations: 0 / 0.9546 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1522, allocations: 0 / 0.9546 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.724e-05/0.1523, allocations: 76.36 kB / 0.9547 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.1523, allocations: 7.938 kB / 0.9547 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1523, allocations: 0 / 0.9547 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.1524, allocations: 4 kB / 0.9547 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.1524, allocations: 0 / 0.9547 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1524, allocations: 3.938 kB / 0.9547 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.1524, allocations: 131.2 kB / 0.9548 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1524, allocations: 0 / 0.9548 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001219/0.1525, allocations: 8 kB / 0.9548 GB, free: 14.56 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.268e-05/0.1526, allocations: 99.47 kB / 0.9549 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.944e-05/0.1527, allocations: 23.62 kB / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1527, allocations: 0 / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-06/0.1527, allocations: 11.69 kB / 0.9549 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1528, allocations: 15.92 kB / 0.955 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.1532, allocations: 118.6 kB / 0.9551 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.036e-05/0.1533, allocations: 59.28 kB / 0.9551 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.1533, allocations: 8.078 kB / 0.9551 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.1533, allocations: 12.5 kB / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of SimCode: time 9.12e-07/0.1533, allocations: 3.938 kB / 0.9551 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of Templates: time 0.001979/0.1553, allocations: 0.554 MB / 0.9557 GB, free: 13.62 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.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.249351209960878]