Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001139/0.001139, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001318/0.001318, allocations: 169 kB / 23.28 MB, free: 1.219 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.006/1.006, allocations: 177.1 MB / 203.7 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.405/2.405, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.788e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1302/0.1302, allocations: 141.5 MB / 1.028 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.1303, allocations: 39.83 kB / 1.028 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.1304, allocations: 0 / 1.028 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.1305, allocations: 15.98 kB / 1.028 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.1306, allocations: 11.86 kB / 1.028 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.1312, allocations: 231 kB / 1.028 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.126e-05/0.1312, allocations: 31.84 kB / 1.028 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.376e-05/0.1313, allocations: 8 kB / 1.028 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.1313, allocations: 19.98 kB / 1.028 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.1314, allocations: 11.97 kB / 1.028 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1314, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.1317, allocations: 175.3 kB / 1.028 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.1317, allocations: 4 kB / 1.028 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.1317, allocations: 15.92 kB / 1.028 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1319, allocations: 107.7 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1319, allocations: 3.984 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1319, allocations: 0 / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.1319, allocations: 0 / 1.029 GB, free: 11.09 MB / 0.9948 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.0003055/0.1322, allocations: 368.2 kB / 1.029 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1323, allocations: 12.56 kB / 1.029 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.1325, allocations: 32.84 kB / 1.029 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.813e-05/0.1326, allocations: 112.6 kB / 1.029 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.1326, allocations: 55.97 kB / 1.029 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.1326, allocations: 4.125 kB / 1.029 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.1327, allocations: 84.08 kB / 1.029 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1327, allocations: 7.922 kB / 1.029 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.1327, allocations: 4 kB / 1.029 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.1327, allocations: 0 / 1.029 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.1328, allocations: 8 kB / 1.029 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1331, allocations: 240.4 kB / 1.029 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.652e-05/0.1332, allocations: 27.06 kB / 1.029 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.191e-05/0.1332, allocations: 11.75 kB / 1.029 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-05/0.1333, allocations: 15.98 kB / 1.029 GB, free: 9.992 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1333, allocations: 45.33 kB / 1.03 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1333, allocations: 0 / 1.03 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.1334, allocations: 49.62 kB / 1.03 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.1334, allocations: 51.41 kB / 1.03 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.1335, allocations: 165.9 kB / 1.03 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1335, allocations: 29.7 kB / 1.03 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.1336, allocations: 134.8 kB / 1.03 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.1336, allocations: 7.938 kB / 1.03 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.1336, allocations: 19.38 kB / 1.03 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1337, allocations: 0.4885 MB / 1.03 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.1337, allocations: 4 kB / 1.03 GB, free: 8.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.1337, allocations: 35 kB / 1.03 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.1338, allocations: 31 kB / 1.03 GB, free: 8.84 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1338, allocations: 4 kB / 1.03 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.437e-05/0.1338, allocations: 53.58 kB / 1.031 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1338, allocations: 4 kB / 1.031 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1338, allocations: 8.094 kB / 1.031 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1338, allocations: 0 / 1.031 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.1339, allocations: 7.938 kB / 1.031 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1339, allocations: 7.984 kB / 1.031 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.1339, allocations: 0 / 1.031 GB, free: 8.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.1339, allocations: 3.938 kB / 1.031 GB, free: 8.746 MB / 0.9948 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 5.828e-05/0.134, allocations: 172.4 kB / 1.031 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.134, allocations: 8 kB / 1.031 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.134, allocations: 3.312 kB / 1.031 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.134, allocations: 0 / 1.031 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.134, allocations: 4 kB / 1.031 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.134, allocations: 0 / 1.031 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1342, allocations: 400.5 kB / 1.031 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1342, allocations: 0 / 1.031 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.1342, allocations: 4 kB / 1.031 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1342, allocations: 3.984 kB / 1.031 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.1342, allocations: 4 kB / 1.031 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1342, allocations: 0 / 1.031 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1342, allocations: 4 kB / 1.031 GB, free: 8.098 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.471e-05/0.1343, allocations: 88.08 kB / 1.031 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.1343, allocations: 8.016 kB / 1.031 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.1343, allocations: 3.984 kB / 1.031 GB, free: 7.973 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.1343, allocations: 4 kB / 1.031 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-06/0.1343, allocations: 0 / 1.031 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1343, allocations: 4 kB / 1.031 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.1344, allocations: 119.2 kB / 1.031 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1344, allocations: 0 / 1.031 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001226/0.1345, allocations: 8 kB / 1.031 GB, free: 7.84 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.706e-05/0.1346, allocations: 111.2 kB / 1.031 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 5.683e-05/0.1346, allocations: 19.62 kB / 1.031 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.1346, allocations: 0 / 1.031 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.415e-06/0.1346, allocations: 11.69 kB / 1.032 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.1348, allocations: 15.98 kB / 1.032 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.1351, allocations: 134.2 kB / 1.032 GB, free: 7.504 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.876e-05/0.1352, allocations: 55.36 kB / 1.032 GB, free: 7.43 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.1352, allocations: 4.406 kB / 1.032 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1353, allocations: 86.17 kB / 1.032 GB, free: 7.34 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/0.1353, allocations: 0 / 1.032 GB, free: 7.34 MB / 0.9948 GB Notification: Performance of Templates: time 0.002208/0.1375, allocations: 0.7889 MB / 1.033 GB, free: 6.559 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.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.58938663918525]