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.0009384/0.0009384, 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.001099/0.001099, 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 0.965/0.965, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.908/1.908, 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.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.533e-06/1.533e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.247e-05, allocations: 3.078 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1385/0.1385, allocations: 143.1 MB / 0.8998 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.1386, allocations: 51.73 kB / 0.8998 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1386, allocations: 0 / 0.8998 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.719e-05/0.1387, allocations: 11.94 kB / 0.8998 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.1388, allocations: 15.91 kB / 0.8999 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1391, allocations: 115.6 kB / 0.9 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.1392, allocations: 35.84 kB / 0.9 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.356e-05/0.1392, allocations: 0 / 0.9 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.1392, allocations: 27.91 kB / 0.9 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.1393, allocations: 11.98 kB / 0.9 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.1393, allocations: 0 / 0.9 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1394, allocations: 79.67 kB / 0.9001 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.1395, allocations: 7.984 kB / 0.9001 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.26e-05/0.1395, allocations: 7.984 kB / 0.9001 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1396, allocations: 71.8 kB / 0.9002 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1396, allocations: 0 / 0.9002 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1396, allocations: 4 kB / 0.9002 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.1396, allocations: 0 / 0.9002 GB, free: 6.742 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.0001792/0.1398, allocations: 240.5 kB / 0.9004 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.155e-05/0.1398, allocations: 12.03 kB / 0.9004 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1399, allocations: 25.2 kB / 0.9005 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.838e-05/0.14, allocations: 109.7 kB / 0.9006 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.14, allocations: 55.97 kB / 0.9006 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.14, allocations: 8.109 kB / 0.9006 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.1401, allocations: 82.92 kB / 0.9007 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1401, allocations: 0 / 0.9007 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1401, allocations: 0 / 0.9007 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1401, allocations: 0 / 0.9007 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.1402, allocations: 15.98 kB / 0.9007 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.1403, allocations: 169.8 kB / 0.9009 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.577e-05/0.1404, allocations: 14.58 kB / 0.9009 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.056e-05/0.1404, allocations: 8.859 kB / 0.9009 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-06/0.1404, allocations: 4 kB / 0.9009 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.1404, allocations: 34.62 kB / 0.9009 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1404, allocations: 3.938 kB / 0.9009 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002367/0.1406, allocations: 37.67 kB / 0.901 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.1407, allocations: 51.41 kB / 0.901 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.1407, allocations: 106.7 kB / 0.9011 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.1407, allocations: 25.7 kB / 0.9012 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.1408, allocations: 96.03 kB / 0.9012 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-06/0.1408, allocations: 3.938 kB / 0.9013 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.1408, allocations: 17.72 kB / 0.9013 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.1409, allocations: 319 kB / 0.9016 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.1409, allocations: 4 kB / 0.9016 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.595e-05/0.1409, allocations: 22.56 kB / 0.9016 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.1409, allocations: 29.28 kB / 0.9016 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1409, allocations: 4 kB / 0.9016 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.135e-05/0.141, allocations: 49.62 kB / 0.9017 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.141, allocations: 4 kB / 0.9017 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.141, allocations: 4.094 kB / 0.9017 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.141, allocations: 4 kB / 0.9017 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-05/0.141, allocations: 4.094 kB / 0.9017 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.141, allocations: 3.984 kB / 0.9017 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.141, allocations: 7.953 kB / 0.9017 GB, free: 5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.141, allocations: 3.984 kB / 0.9017 GB, free: 4.996 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.814e-05/0.1411, allocations: 116.6 kB / 0.9018 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.1411, allocations: 3.938 kB / 0.9018 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.1411, allocations: 3.156 kB / 0.9018 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1411, allocations: 256 / 0.9018 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1411, allocations: 4 kB / 0.9018 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1411, allocations: 8 kB / 0.9018 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1413, allocations: 258.9 kB / 0.9021 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1413, allocations: 4 kB / 0.9021 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.1413, allocations: 0 / 0.9021 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1413, allocations: 0 / 0.9021 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.1413, allocations: 0 / 0.9021 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1413, allocations: 0 / 0.9021 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1413, allocations: 0 / 0.9021 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.974e-05/0.1413, allocations: 65 kB / 0.9022 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-06/0.1413, allocations: 8.062 kB / 0.9022 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.1413, allocations: 3.938 kB / 0.9022 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.1413, allocations: 3.984 kB / 0.9022 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-06/0.1414, allocations: 0 / 0.9022 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1414, allocations: 4 kB / 0.9022 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.939e-06/0.1414, allocations: 8.859 kB / 0.9022 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1414, allocations: 0 / 0.9022 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001025/0.1415, allocations: 8 kB / 0.9022 GB, free: 4.441 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.435e-05/0.1415, allocations: 84.42 kB / 0.9023 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.403e-05/0.1416, allocations: 24.78 kB / 0.9023 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1416, allocations: 0 / 0.9023 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.1416, allocations: 4.859 kB / 0.9023 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.391e-05/0.1417, allocations: 7.938 kB / 0.9023 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.142, allocations: 127.5 kB / 0.9024 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.587e-05/0.142, allocations: 59.47 kB / 0.9025 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.142, allocations: 8 kB / 0.9025 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.1421, allocations: 59.34 kB / 0.9025 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.1421, allocations: 0 / 0.9025 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of Templates: time 0.001942/0.144, allocations: 0.6102 MB / 0.9031 GB, free: 3.418 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 -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.153910108841956]