Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001127/0.001127, 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.001856/0.001856, allocations: 169 kB / 23.82 MB, free: 0.7422 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.038/1.038, allocations: 177.1 MB / 204.2 MB, free: 5.211 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 2.003/2.003, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.5e-05, allocations: 5.734 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1363/0.1363, allocations: 144.1 MB / 0.9523 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.1365, allocations: 47.8 kB / 0.9523 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.1365, allocations: 0 / 0.9523 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.1367, allocations: 3.938 kB / 0.9523 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.1368, allocations: 19.91 kB / 0.9523 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.1376, allocations: 227 kB / 0.9525 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.1377, allocations: 35.86 kB / 0.9526 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.1377, allocations: 0 / 0.9526 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.1378, allocations: 27.91 kB / 0.9526 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.1378, allocations: 11.98 kB / 0.9526 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1378, allocations: 4 kB / 0.9526 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.1382, allocations: 163.4 kB / 0.9528 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1383, allocations: 11.98 kB / 0.9528 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.1383, allocations: 8 kB / 0.9528 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1386, allocations: 115.6 kB / 0.9529 GB, free: 484 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1386, allocations: 0 / 0.9529 GB, free: 484 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1386, allocations: 0 / 0.9529 GB, free: 484 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1386, allocations: 0 / 0.9529 GB, free: 484 kB / 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.0004088/0.139, allocations: 368.6 kB / 0.9533 GB, free: 80 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.139, allocations: 12.03 kB / 0.9533 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.1394, allocations: 44.77 kB / 0.9533 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1395, allocations: 108.6 kB / 0.9534 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.1396, allocations: 59.91 kB / 0.9535 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1396, allocations: 4.125 kB / 0.9535 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1397, allocations: 76.09 kB / 0.9536 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1397, allocations: 0 / 0.9536 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1397, allocations: 4 kB / 0.9536 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.1398, allocations: 0 / 0.9536 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.1398, allocations: 15.98 kB / 0.9536 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.1401, allocations: 267.7 kB / 0.9538 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.108e-05/0.1402, allocations: 31 kB / 0.9539 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.1402, allocations: 11.75 kB / 0.9539 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1403, allocations: 19.98 kB / 0.9539 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1403, allocations: 33.39 kB / 0.9539 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.1403, allocations: 0 / 0.9539 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.1406, allocations: 61.58 kB / 0.954 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.1406, allocations: 55.34 kB / 0.954 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.1407, allocations: 161.9 kB / 0.9542 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1407, allocations: 29.7 kB / 0.9542 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.1408, allocations: 130.8 kB / 0.9543 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.1408, allocations: 3.953 kB / 0.9543 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.1408, allocations: 23.38 kB / 0.9544 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1409, allocations: 0.4922 MB / 0.9548 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.1409, allocations: 0 / 0.9548 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.141, allocations: 31.06 kB / 0.9549 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.141, allocations: 43.12 kB / 0.9549 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.141, allocations: 0 / 0.9549 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.64e-05/0.1411, allocations: 53.62 kB / 0.955 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1411, allocations: 4 kB / 0.955 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1411, allocations: 0 / 0.955 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1412, allocations: 4 kB / 0.955 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.1412, allocations: 4 kB / 0.955 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1412, allocations: 8.078 kB / 0.955 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.1412, allocations: 4 kB / 0.955 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1412, allocations: 0 / 0.955 GB, free: 14.09 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 7.502e-05/0.1413, allocations: 164.5 kB / 0.9551 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.1413, allocations: 3.953 kB / 0.9551 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.1414, allocations: 11.31 kB / 0.9552 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1414, allocations: 0 / 0.9552 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1414, allocations: 0 / 0.9552 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1414, allocations: 0 / 0.9552 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.1416, allocations: 420 kB / 0.9556 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1416, allocations: 4.266 kB / 0.9556 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.1417, allocations: 4 kB / 0.9556 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1417, allocations: 3.938 kB / 0.9556 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1417, allocations: 7.938 kB / 0.9556 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1417, allocations: 0 / 0.9556 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1417, allocations: 0 / 0.9556 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.663e-05/0.1418, allocations: 88.06 kB / 0.9557 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.1418, allocations: 3.984 kB / 0.9557 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1418, allocations: 4 kB / 0.9557 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.1418, allocations: 4.062 kB / 0.9557 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.1419, allocations: 3.938 kB / 0.9557 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.1419, allocations: 8 kB / 0.9557 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.1419, allocations: 127.2 kB / 0.9558 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1419, allocations: 0 / 0.9558 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001983/0.1421, allocations: 4 kB / 0.9558 GB, free: 13.16 MB / 0.9167 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.0001203/0.1422, allocations: 107.2 kB / 0.9559 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.567e-05/0.1423, allocations: 19.81 kB / 0.9559 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1423, allocations: 0 / 0.9559 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.1423, allocations: 19.61 kB / 0.956 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1425, allocations: 15.92 kB / 0.956 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.143, allocations: 141.9 kB / 0.9561 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.1431, allocations: 51.55 kB / 0.9562 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.1431, allocations: 15.92 kB / 0.9562 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.1432, allocations: 12.5 kB / 0.9562 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.1432, allocations: 0 / 0.9562 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of Templates: time 0.002755/0.1459, allocations: 0.6719 MB / 0.9568 GB, free: 12.06 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.576752505265176]