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.0009612/0.0009612, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001149/0.001149, allocations: 161 kB / 24.17 MB, free: 332 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 1.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.961/1.961, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.094e-06/2.094e-06, allocations: 0.875 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.001e-05, allocations: 6.906 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1376/0.1376, allocations: 143.6 MB / 0.9003 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001169/0.1377, allocations: 51.69 kB / 0.9003 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.1378, allocations: 0 / 0.9003 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.1379, allocations: 4 kB / 0.9003 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.785e-05/0.1379, allocations: 15.97 kB / 0.9003 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.1386, allocations: 226.9 kB / 0.9006 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.737e-05/0.1386, allocations: 31.84 kB / 0.9006 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.1387, allocations: 7.984 kB / 0.9006 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.1387, allocations: 19.98 kB / 0.9006 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.1388, allocations: 15.92 kB / 0.9006 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1388, allocations: 0 / 0.9006 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.1392, allocations: 167.4 kB / 0.9008 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.1393, allocations: 11.98 kB / 0.9008 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.1393, allocations: 4 kB / 0.9008 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1395, allocations: 119.6 kB / 0.9009 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1395, allocations: 0 / 0.9009 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1395, allocations: 0 / 0.9009 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1395, allocations: 0 / 0.9009 GB, free: 6.012 MB / 0.8542 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.0002709/0.1397, allocations: 244.5 kB / 0.9012 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1398, allocations: 12.03 kB / 0.9012 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.14, allocations: 33.19 kB / 0.9012 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.584e-05/0.1401, allocations: 109.8 kB / 0.9013 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.1401, allocations: 51.97 kB / 0.9013 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1402, allocations: 4.125 kB / 0.9014 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1403, allocations: 90.89 kB / 0.9014 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1403, allocations: 0 / 0.9014 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1403, allocations: 0 / 0.9014 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.1403, allocations: 7.938 kB / 0.9014 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.784e-05/0.1403, allocations: 8 kB / 0.9015 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.1405, allocations: 166 kB / 0.9016 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.1406, allocations: 26.55 kB / 0.9016 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.059e-05/0.1406, allocations: 4.859 kB / 0.9016 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.388e-05/0.1406, allocations: 12.06 kB / 0.9017 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1407, allocations: 46.48 kB / 0.9017 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1407, allocations: 0 / 0.9017 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.1408, allocations: 49.62 kB / 0.9017 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.1408, allocations: 51.41 kB / 0.9018 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.1409, allocations: 102.7 kB / 0.9019 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1409, allocations: 25.7 kB / 0.9019 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.1409, allocations: 92.08 kB / 0.902 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.141, allocations: 7.953 kB / 0.902 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.141, allocations: 21.64 kB / 0.902 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.141, allocations: 310.8 kB / 0.9023 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-06/0.141, allocations: 4 kB / 0.9023 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.1411, allocations: 30.62 kB / 0.9024 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.1411, allocations: 25.41 kB / 0.9024 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1411, allocations: 3.938 kB / 0.9024 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.34e-05/0.1412, allocations: 49.62 kB / 0.9024 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1412, allocations: 4 kB / 0.9024 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1412, allocations: 4 kB / 0.9024 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1412, allocations: 0 / 0.9024 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.761e-05/0.1412, allocations: 12.31 kB / 0.9025 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.1412, allocations: 7.984 kB / 0.9025 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.1412, allocations: 0 / 0.9025 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.1412, allocations: 0 / 0.9025 GB, free: 4.23 MB / 0.8542 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.318e-05/0.1413, allocations: 124.5 kB / 0.9026 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.1413, allocations: 0 / 0.9026 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.1413, allocations: 15.3 kB / 0.9026 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1413, allocations: 4 kB / 0.9026 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1413, allocations: 0 / 0.9026 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.1413, allocations: 0 / 0.9026 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1415, allocations: 275.7 kB / 0.9029 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1415, allocations: 0 / 0.9029 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.1415, allocations: 7.984 kB / 0.9029 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1415, allocations: 0 / 0.9029 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1415, allocations: 8 kB / 0.9029 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1415, allocations: 0 / 0.9029 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1415, allocations: 0 / 0.9029 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.771e-05/0.1416, allocations: 69.86 kB / 0.9029 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.1416, allocations: 7.984 kB / 0.903 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.1416, allocations: 0 / 0.903 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.1416, allocations: 8.094 kB / 0.903 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.1416, allocations: 0 / 0.903 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.1416, allocations: 0 / 0.903 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.157e-05/0.1417, allocations: 12.84 kB / 0.903 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1417, allocations: 0 / 0.903 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001074/0.1418, allocations: 12 kB / 0.903 GB, free: 3.629 MB / 0.8542 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.723e-05/0.1419, allocations: 80.36 kB / 0.9031 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.193e-05/0.1419, allocations: 24.73 kB / 0.9031 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1419, allocations: 0 / 0.9031 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-06/0.1419, allocations: 12.84 kB / 0.9031 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.142, allocations: 12 kB / 0.9031 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.1424, allocations: 124.7 kB / 0.9032 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.014e-05/0.1424, allocations: 63.22 kB / 0.9033 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.1424, allocations: 7.984 kB / 0.9033 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.1425, allocations: 59.36 kB / 0.9034 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.1425, allocations: 0 / 0.9034 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of Templates: time 0.002305/0.1448, allocations: 0.7981 MB / 0.9041 GB, free: 2.402 MB / 0.8542 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 -s gbode -gbm=radauIIA3 -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.1925953342579305]