Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007069/0.0007069, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009988/0.001706, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006905/0.0006905, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008843/0.001575, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9324/0.9324, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07837/1.011, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.321/2.321, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2778/2.599, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 4 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.393e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1288/0.1288, allocations: 143.6 MB / 0.9591 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.129, allocations: 63.61 kB / 0.9592 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.904e-05/0.129, allocations: 0 / 0.9592 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 6.411e-05/0.1291, allocations: 0 / 0.9592 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.1291, allocations: 7.984 kB / 0.9592 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.1295, allocations: 127.5 kB / 0.9593 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.1295, allocations: 27.86 kB / 0.9593 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1296, allocations: 7.984 kB / 0.9594 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.1296, allocations: 27.91 kB / 0.9594 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.1297, allocations: 7.984 kB / 0.9594 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1297, allocations: 4 kB / 0.9594 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.1299, allocations: 79.72 kB / 0.9595 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.1299, allocations: 4 kB / 0.9595 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.13, allocations: 7.938 kB / 0.9595 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1301, allocations: 67.83 kB / 0.9595 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.1301, allocations: 0 / 0.9595 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1301, allocations: 0 / 0.9595 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.1301, allocations: 0 / 0.9595 GB, free: 1.918 MB / 0.9323 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.0003314/0.1304, allocations: 252.5 kB / 0.9598 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1305, allocations: 12.03 kB / 0.9598 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.1307, allocations: 102 kB / 0.9599 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.1308, allocations: 109.7 kB / 0.96 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.1308, allocations: 55.97 kB / 0.9601 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1308, allocations: 8.125 kB / 0.9601 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1309, allocations: 78.92 kB / 0.9601 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.131, allocations: 0 / 0.9601 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.131, allocations: 0 / 0.9601 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.131, allocations: 3.938 kB / 0.9601 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.131, allocations: 11.98 kB / 0.9601 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.1312, allocations: 161.9 kB / 0.9603 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 2.732e-05/0.1312, allocations: 18.58 kB / 0.9603 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.099e-05/0.1312, allocations: 8.859 kB / 0.9603 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.1313, allocations: 0 / 0.9603 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1313, allocations: 42.56 kB / 0.9604 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1313, allocations: 3.938 kB / 0.9604 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 8.813e-05/0.1314, allocations: 33.73 kB / 0.9604 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.1314, allocations: 51.41 kB / 0.9605 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.88e-05/0.1314, allocations: 106.9 kB / 0.9606 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1315, allocations: 25.7 kB / 0.9606 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.1315, allocations: 95.97 kB / 0.9607 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-06/0.1315, allocations: 4 kB / 0.9607 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.1315, allocations: 21.84 kB / 0.9607 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.1316, allocations: 314.8 kB / 0.961 GB, free: 244 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-06/0.1316, allocations: 0 / 0.961 GB, free: 244 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.997e-05/0.1316, allocations: 34.56 kB / 0.961 GB, free: 200 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.1317, allocations: 29.34 kB / 0.9611 GB, free: 160 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1317, allocations: 0 / 0.9611 GB, free: 160 kB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.43e-05/0.1317, allocations: 45.62 kB / 0.9611 GB, free: 108 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1317, allocations: 8.094 kB / 0.9611 GB, free: 100 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1317, allocations: 0 / 0.9611 GB, free: 100 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1317, allocations: 4 kB / 0.9611 GB, free: 96 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/0.1318, allocations: 11.92 kB / 0.9611 GB, free: 84 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1318, allocations: 4 kB / 0.9611 GB, free: 80 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.1318, allocations: 7.953 kB / 0.9611 GB, free: 72 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.1318, allocations: 0 / 0.9611 GB, free: 72 kB / 0.9323 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.432e-05/0.1319, allocations: 116.6 kB / 0.9612 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.1319, allocations: 0 / 0.9612 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.1319, allocations: 7.156 kB / 0.9613 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1319, allocations: 4 kB / 0.9613 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1319, allocations: 3.984 kB / 0.9613 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1319, allocations: 0 / 0.9613 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.1321, allocations: 262.9 kB / 0.9615 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1321, allocations: 0 / 0.9615 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.1321, allocations: 3.984 kB / 0.9615 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.1321, allocations: 4 kB / 0.9615 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.1321, allocations: 0 / 0.9615 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-06/0.1321, allocations: 0 / 0.9615 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1321, allocations: 0 / 0.9615 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1321, allocations: 96 / 0.9615 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.599e-05/0.1322, allocations: 69.08 kB / 0.9616 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.1322, allocations: 3.938 kB / 0.9616 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.1322, allocations: 4 kB / 0.9616 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.1322, allocations: 0 / 0.9616 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.1322, allocations: 0 / 0.9616 GB, free: 15.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.325e-05/0.1322, allocations: 12.86 kB / 0.9616 GB, free: 15.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1322, allocations: 0 / 0.9616 GB, free: 15.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001451/0.1324, allocations: 8 kB / 0.9616 GB, free: 15.52 MB / 0.948 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 8.905e-05/0.1325, allocations: 92.34 kB / 0.9617 GB, free: 15.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.369e-05/0.1325, allocations: 20.88 kB / 0.9617 GB, free: 15.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1325, allocations: 0 / 0.9617 GB, free: 15.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-06/0.1326, allocations: 8.859 kB / 0.9617 GB, free: 15.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1327, allocations: 41.62 kB / 0.9618 GB, free: 15.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.1335, allocations: 139.6 kB / 0.9619 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.693e-05/0.1335, allocations: 55.36 kB / 0.962 GB, free: 15.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.1335, allocations: 4 kB / 0.962 GB, free: 15.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.1336, allocations: 59.34 kB / 0.962 GB, free: 15.04 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.1336, allocations: 7.938 kB / 0.962 GB, free: 15.04 MB / 0.948 GB Notification: Performance of Templates: time 0.002148/0.1358, allocations: 0.6392 MB / 0.9626 GB, free: 14.44 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.21871944796294]