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.0009915/0.0009915, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001515/0.001515, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9264/0.9264, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.889/1.889, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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 1.462e-06/1.462e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.196e-05, allocations: 6.312 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1594/0.1594, allocations: 144.1 MB / 0.9523 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.1595, allocations: 47.83 kB / 0.9523 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.1595, allocations: 3.938 kB / 0.9523 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.1596, allocations: 3.984 kB / 0.9523 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.1597, allocations: 15.92 kB / 0.9523 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.1604, allocations: 231 kB / 0.9526 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.1604, allocations: 35.86 kB / 0.9526 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.121e-05/0.1605, allocations: 0 / 0.9526 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.1605, allocations: 23.91 kB / 0.9526 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1606, allocations: 11.98 kB / 0.9526 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1606, allocations: 4 kB / 0.9526 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1609, allocations: 167.4 kB / 0.9528 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.1609, allocations: 7.938 kB / 0.9528 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.1609, allocations: 11.98 kB / 0.9528 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1611, allocations: 111.7 kB / 0.9529 GB, free: 496 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1611, allocations: 0 / 0.9529 GB, free: 496 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1611, allocations: 0 / 0.9529 GB, free: 496 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.1612, allocations: 0 / 0.9529 GB, free: 496 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.0003419/0.1615, allocations: 368.6 kB / 0.9533 GB, free: 92 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1615, allocations: 15.97 kB / 0.9533 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.1618, allocations: 40.8 kB / 0.9533 GB, free: 36 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.219e-05/0.1619, allocations: 104.6 kB / 0.9534 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.824e-05/0.162, allocations: 55.97 kB / 0.9535 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.162, allocations: 4.125 kB / 0.9535 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1621, allocations: 84.08 kB / 0.9536 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1621, allocations: 0 / 0.9536 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1621, allocations: 0 / 0.9536 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.1621, allocations: 8 kB / 0.9536 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.1622, allocations: 15.92 kB / 0.9536 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.1624, allocations: 255.8 kB / 0.9538 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.634e-05/0.1625, allocations: 27.06 kB / 0.9539 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.1625, allocations: 15.75 kB / 0.9539 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-05/0.1626, allocations: 15.98 kB / 0.9539 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1626, allocations: 37.33 kB / 0.9539 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.1626, allocations: 4 kB / 0.9539 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001803/0.1628, allocations: 61.52 kB / 0.954 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1628, allocations: 51.41 kB / 0.954 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.1629, allocations: 161.9 kB / 0.9542 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1629, allocations: 25.7 kB / 0.9542 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.1629, allocations: 134.8 kB / 0.9543 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.1629, allocations: 7.953 kB / 0.9544 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.163, allocations: 23.36 kB / 0.9544 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1631, allocations: 0.4883 MB / 0.9549 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.1631, allocations: 4.125 kB / 0.9549 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.1631, allocations: 31.06 kB / 0.9549 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.664e-05/0.1631, allocations: 42.98 kB / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1631, allocations: 0 / 0.9549 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.653e-05/0.1632, allocations: 49.64 kB / 0.955 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1632, allocations: 4 kB / 0.955 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1632, allocations: 0 / 0.955 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1632, allocations: 12.08 kB / 0.955 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.042e-05/0.1633, allocations: 4 kB / 0.955 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1633, allocations: 0 / 0.955 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.1633, allocations: 4 kB / 0.955 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.1633, allocations: 0 / 0.955 GB, free: 14.11 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.49e-05/0.1634, allocations: 172.4 kB / 0.9552 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1634, allocations: 3.953 kB / 0.9552 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.1634, allocations: 3.312 kB / 0.9552 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1634, allocations: 4 kB / 0.9552 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1634, allocations: 0 / 0.9552 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1634, allocations: 0 / 0.9552 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1636, allocations: 423.9 kB / 0.9556 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1636, allocations: 0 / 0.9556 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/0.1636, allocations: 8 kB / 0.9556 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1636, allocations: 0 / 0.9556 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1636, allocations: 4 kB / 0.9556 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1636, allocations: 0 / 0.9556 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1636, allocations: 0 / 0.9556 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.492e-05/0.1637, allocations: 88.06 kB / 0.9557 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-06/0.1637, allocations: 3.938 kB / 0.9557 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.1637, allocations: 8.031 kB / 0.9557 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.1637, allocations: 4 kB / 0.9557 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.1637, allocations: 7.922 kB / 0.9557 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.1638, allocations: 4 kB / 0.9557 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.1638, allocations: 123.2 kB / 0.9558 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1638, allocations: 0 / 0.9558 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001282/0.1639, allocations: 8 kB / 0.9558 GB, free: 13.18 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.000102/0.164, allocations: 99.66 kB / 0.9559 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.549e-05/0.1641, allocations: 35.61 kB / 0.956 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1641, allocations: 0 / 0.956 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-06/0.1641, allocations: 11.69 kB / 0.956 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.1643, allocations: 11.97 kB / 0.956 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.1646, allocations: 138.2 kB / 0.9561 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.739e-05/0.1647, allocations: 59.34 kB / 0.9562 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.1647, allocations: 7.984 kB / 0.9562 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.1647, allocations: 12.5 kB / 0.9562 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of SimCode: time 7.92e-07/0.1647, allocations: 0 / 0.9562 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of Templates: time 0.002379/0.1671, allocations: 0.7562 MB / 0.9569 GB, free: 11.99 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.298230698797852]