Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.00104/0.00104, 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.0009736/0.0009736, allocations: 161 kB / 24.16 MB, free: 336 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 0.9776/0.9776, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.905/1.905, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 1.094 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.827e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.134/0.134, allocations: 143.2 MB / 0.8999 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001247/0.1342, allocations: 59.67 kB / 0.8999 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.1342, allocations: 0 / 0.8999 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.1343, allocations: 0 / 0.8999 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.1344, allocations: 23.84 kB / 0.8999 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1348, allocations: 119.5 kB / 0.9001 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.1348, allocations: 39.84 kB / 0.9001 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.1349, allocations: 7.984 kB / 0.9001 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.1349, allocations: 15.98 kB / 0.9001 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.135, allocations: 11.97 kB / 0.9001 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.135, allocations: 0 / 0.9001 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.1352, allocations: 71.75 kB / 0.9002 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.1353, allocations: 11.97 kB / 0.9002 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.1353, allocations: 15.94 kB / 0.9002 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1354, allocations: 67.78 kB / 0.9003 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1354, allocations: 4 kB / 0.9003 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1354, allocations: 4 kB / 0.9003 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1354, allocations: 0 / 0.9003 GB, free: 6.672 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.0002555/0.1357, allocations: 236.6 kB / 0.9005 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.1357, allocations: 8.031 kB / 0.9005 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.1359, allocations: 25.2 kB / 0.9005 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.608e-05/0.136, allocations: 113.7 kB / 0.9007 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.136, allocations: 51.97 kB / 0.9007 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.136, allocations: 12.12 kB / 0.9007 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1361, allocations: 82.86 kB / 0.9008 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1361, allocations: 3.938 kB / 0.9008 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1362, allocations: 4 kB / 0.9008 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.1362, allocations: 3.984 kB / 0.9008 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.1362, allocations: 4 kB / 0.9008 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.1364, allocations: 165.9 kB / 0.901 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.1368, allocations: 18.58 kB / 0.901 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.173e-05/0.1368, allocations: 8.859 kB / 0.901 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.1368, allocations: 3.938 kB / 0.901 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1368, allocations: 34.62 kB / 0.901 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1368, allocations: 0 / 0.901 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 9.614e-05/0.1369, allocations: 33.73 kB / 0.9011 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.1369, allocations: 51.41 kB / 0.9011 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.137, allocations: 110.7 kB / 0.9012 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.137, allocations: 25.7 kB / 0.9012 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.137, allocations: 92.05 kB / 0.9013 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.137, allocations: 4.062 kB / 0.9013 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.137, allocations: 17.72 kB / 0.9014 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.1371, allocations: 322.8 kB / 0.9017 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-06/0.1371, allocations: 0 / 0.9017 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.1372, allocations: 22.52 kB / 0.9017 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.1372, allocations: 33.34 kB / 0.9017 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1372, allocations: 0 / 0.9017 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.576e-05/0.1372, allocations: 45.72 kB / 0.9018 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1373, allocations: 12 kB / 0.9018 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1373, allocations: 4.234 kB / 0.9018 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1373, allocations: 3.938 kB / 0.9018 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.53e-05/0.1373, allocations: 12 kB / 0.9018 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.1373, allocations: 0 / 0.9018 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.1373, allocations: 3.953 kB / 0.9018 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1373, allocations: 4 kB / 0.9018 GB, free: 4.934 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 4.736e-05/0.1374, allocations: 112.6 kB / 0.9019 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.1374, allocations: 4.094 kB / 0.9019 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.1374, allocations: 11.14 kB / 0.9019 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1374, allocations: 7.984 kB / 0.9019 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.1374, allocations: 0 / 0.9019 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1374, allocations: 0 / 0.9019 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1376, allocations: 262.8 kB / 0.9022 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1376, allocations: 0 / 0.9022 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-06/0.1376, allocations: 7.984 kB / 0.9022 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.1376, allocations: 0 / 0.9022 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.1376, allocations: 0 / 0.9022 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.1376, allocations: 0 / 0.9022 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1376, allocations: 0 / 0.9022 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.074e-05/0.1376, allocations: 61.11 kB / 0.9022 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-06/0.1377, allocations: 3.984 kB / 0.9022 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.1377, allocations: 4 kB / 0.9023 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.304e-05/0.1377, allocations: 4 kB / 0.9023 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.1377, allocations: 3.938 kB / 0.9023 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.1377, allocations: 0 / 0.9023 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.206e-05/0.1377, allocations: 8.859 kB / 0.9023 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1377, allocations: 0 / 0.9023 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001048/0.1378, allocations: 8 kB / 0.9023 GB, free: 4.379 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 7.788e-05/0.1379, allocations: 88.44 kB / 0.9024 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.771e-05/0.138, allocations: 12.86 kB / 0.9024 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.138, allocations: 4 kB / 0.9024 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/0.138, allocations: 8.797 kB / 0.9024 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.1381, allocations: 15.92 kB / 0.9024 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.1384, allocations: 118.2 kB / 0.9025 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.1384, allocations: 67.2 kB / 0.9026 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.1385, allocations: 0 / 0.9026 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.1385, allocations: 59.36 kB / 0.9026 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/0.1385, allocations: 0 / 0.9026 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of Templates: time 0.00203/0.1406, allocations: 0.6264 MB / 0.9032 GB, free: 3.344 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.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.103447726927698]