Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009875/0.0009875, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001072/0.001072, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9357/0.9357, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.726/1.726, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.209e-05, allocations: 6.125 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1364/0.1364, allocations: 144.2 MB / 0.9278 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.000127/0.1365, allocations: 51.81 kB / 0.9279 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.1366, allocations: 0 / 0.9279 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1367, allocations: 3.938 kB / 0.9279 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.1368, allocations: 15.91 kB / 0.9279 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.1375, allocations: 223.1 kB / 0.9281 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.156e-05/0.1376, allocations: 35.86 kB / 0.9282 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.1377, allocations: 3.984 kB / 0.9282 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.1377, allocations: 23.92 kB / 0.9282 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.1378, allocations: 7.984 kB / 0.9282 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1378, allocations: 4 kB / 0.9282 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.1381, allocations: 167.3 kB / 0.9284 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1381, allocations: 8 kB / 0.9284 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.1382, allocations: 11.98 kB / 0.9284 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1384, allocations: 119.6 kB / 0.9285 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1384, allocations: 0 / 0.9285 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1384, allocations: 0 / 0.9285 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1384, allocations: 0 / 0.9285 GB, free: 11.24 MB / 0.8855 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.0003608/0.1387, allocations: 368.2 kB / 0.9288 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1388, allocations: 8.031 kB / 0.9289 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.1391, allocations: 37.14 kB / 0.9289 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.444e-05/0.1391, allocations: 108.6 kB / 0.929 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.1392, allocations: 63.91 kB / 0.9291 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1392, allocations: 8.109 kB / 0.9291 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1393, allocations: 76.09 kB / 0.9291 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1393, allocations: 0 / 0.9291 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1393, allocations: 0 / 0.9291 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.1393, allocations: 4 kB / 0.9291 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.1394, allocations: 12 kB / 0.9291 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1397, allocations: 255.7 kB / 0.9294 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.1398, allocations: 35.03 kB / 0.9294 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.1398, allocations: 15.75 kB / 0.9294 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.1399, allocations: 16 kB / 0.9295 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1399, allocations: 41.31 kB / 0.9295 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1399, allocations: 0 / 0.9295 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002041/0.1401, allocations: 57.58 kB / 0.9295 GB, free: 10 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.1402, allocations: 55.34 kB / 0.9296 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.1402, allocations: 153.9 kB / 0.9297 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1403, allocations: 33.83 kB / 0.9298 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.1403, allocations: 134.8 kB / 0.9299 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-06/0.1403, allocations: 7.938 kB / 0.9299 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.1403, allocations: 23.38 kB / 0.9299 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.1404, allocations: 496.1 kB / 0.9304 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.1404, allocations: 4 kB / 0.9304 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.1405, allocations: 35.05 kB / 0.9304 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.1405, allocations: 35 kB / 0.9305 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1405, allocations: 4 kB / 0.9305 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.22e-05/0.1406, allocations: 53.62 kB / 0.9305 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1406, allocations: 4 kB / 0.9305 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1406, allocations: 0 / 0.9305 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1406, allocations: 4 kB / 0.9305 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.1406, allocations: 8 kB / 0.9306 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1406, allocations: 0 / 0.9306 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.1407, allocations: 4.281 kB / 0.9306 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1407, allocations: 0 / 0.9306 GB, free: 8.875 MB / 0.8855 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.064e-05/0.1407, allocations: 168.5 kB / 0.9307 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.1407, allocations: 7.953 kB / 0.9307 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.1408, allocations: 15.28 kB / 0.9307 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1408, allocations: 4 kB / 0.9307 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1408, allocations: 0 / 0.9307 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1408, allocations: 0 / 0.9307 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.141, allocations: 416 kB / 0.9311 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.141, allocations: 0 / 0.9311 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.141, allocations: 4 kB / 0.9311 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.141, allocations: 3.938 kB / 0.9311 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.141, allocations: 4.062 kB / 0.9312 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.141, allocations: 4 kB / 0.9312 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.141, allocations: 0 / 0.9312 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.208e-05/0.1411, allocations: 84.06 kB / 0.9312 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.1411, allocations: 7.938 kB / 0.9312 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1411, allocations: 0 / 0.9312 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.1411, allocations: 7.984 kB / 0.9313 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.1411, allocations: 3.938 kB / 0.9313 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1411, allocations: 4 kB / 0.9313 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.03e-05/0.1412, allocations: 119.2 kB / 0.9314 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 4.031 kB / 0.9314 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001247/0.1413, allocations: 8 kB / 0.9314 GB, free: 7.934 MB / 0.8855 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 0.0001148/0.1414, allocations: 107.2 kB / 0.9315 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.1415, allocations: 23.67 kB / 0.9315 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1415, allocations: 0 / 0.9315 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.1415, allocations: 15.62 kB / 0.9315 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.1417, allocations: 20.14 kB / 0.9315 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.1421, allocations: 130.1 kB / 0.9317 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.1421, allocations: 55.34 kB / 0.9317 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.1422, allocations: 11.94 kB / 0.9317 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.1422, allocations: 12.5 kB / 0.9317 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/0.1422, allocations: 0 / 0.9317 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of Templates: time 0.002533/0.1447, allocations: 0.7677 MB / 0.9325 GB, free: 6.742 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.879441781900823]