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.0008863/0.0008863, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.00214, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007681/0.0007681, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000981/0.001749, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.009/1.009, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09721/1.106, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.336/2.336, allocations: 446.7 MB / 0.6745 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2955/2.632, allocations: 145.9 MB / 0.817 GB, free: 4.156 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 1.193e-06/1.193e-06, allocations: 0 / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.827e-05, allocations: 4.281 kB / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1444/0.1444, allocations: 143.6 MB / 0.9585 GB, free: 2.73 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.1446, allocations: 55.73 kB / 0.9585 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.1446, allocations: 4 kB / 0.9586 GB, free: 2.672 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.306e-05/0.1447, allocations: 11.88 kB / 0.9586 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.1447, allocations: 4 kB / 0.9586 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1451, allocations: 119.5 kB / 0.9587 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.1452, allocations: 31.86 kB / 0.9587 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.1452, allocations: 4 kB / 0.9587 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.1453, allocations: 31.91 kB / 0.9587 GB, free: 2.473 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.1453, allocations: 7.984 kB / 0.9588 GB, free: 2.465 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1453, allocations: 4 kB / 0.9588 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.1457, allocations: 79.67 kB / 0.9588 GB, free: 2.383 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.1458, allocations: 4 kB / 0.9588 GB, free: 2.379 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.1458, allocations: 4 kB / 0.9588 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1459, allocations: 59.81 kB / 0.9589 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.848e-05/0.1459, allocations: 4 kB / 0.9589 GB, free: 2.312 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1459, allocations: 0 / 0.9589 GB, free: 2.312 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.1459, allocations: 0 / 0.9589 GB, free: 2.312 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.0003507/0.1463, allocations: 248.6 kB / 0.9591 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1463, allocations: 8.031 kB / 0.9591 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.1466, allocations: 106 kB / 0.9592 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.1466, allocations: 113.7 kB / 0.9594 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.1467, allocations: 51.97 kB / 0.9594 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1467, allocations: 12.12 kB / 0.9594 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1468, allocations: 78.91 kB / 0.9595 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1468, allocations: 4 kB / 0.9595 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1468, allocations: 4 kB / 0.9595 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.1468, allocations: 0 / 0.9595 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.358e-05/0.1469, allocations: 8 kB / 0.9595 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.1471, allocations: 161.9 kB / 0.9597 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.409e-05/0.1471, allocations: 26.5 kB / 0.9597 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-06/0.1471, allocations: 4.859 kB / 0.9597 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-06/0.1471, allocations: 0 / 0.9597 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1471, allocations: 34.62 kB / 0.9597 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.1472, allocations: 0 / 0.9597 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 8.926e-05/0.1472, allocations: 37.64 kB / 0.9598 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.1473, allocations: 51.41 kB / 0.9598 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.1473, allocations: 122.6 kB / 0.9599 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1473, allocations: 25.7 kB / 0.96 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.1474, allocations: 91.98 kB / 0.96 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.1474, allocations: 4 kB / 0.96 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.1474, allocations: 17.7 kB / 0.9601 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.1475, allocations: 318.8 kB / 0.9604 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.1475, allocations: 0 / 0.9604 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.1475, allocations: 22.58 kB / 0.9604 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.1475, allocations: 41.39 kB / 0.9604 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1475, allocations: 0 / 0.9604 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.769e-05/0.1476, allocations: 45.62 kB / 0.9605 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1476, allocations: 8 kB / 0.9605 GB, free: 496 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1476, allocations: 96 / 0.9605 GB, free: 496 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1476, allocations: 3.984 kB / 0.9605 GB, free: 492 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.562e-05/0.1477, allocations: 8 kB / 0.9605 GB, free: 484 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.1477, allocations: 4.094 kB / 0.9605 GB, free: 480 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.1477, allocations: 7.953 kB / 0.9605 GB, free: 472 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-06/0.1477, allocations: 0 / 0.9605 GB, free: 472 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 4.897e-05/0.1477, allocations: 116.6 kB / 0.9606 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1477, allocations: 7.984 kB / 0.9606 GB, free: 336 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.1478, allocations: 7.094 kB / 0.9606 GB, free: 332 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1478, allocations: 0 / 0.9606 GB, free: 332 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1478, allocations: 0 / 0.9606 GB, free: 332 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1478, allocations: 0 / 0.9606 GB, free: 332 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1479, allocations: 258.9 kB / 0.9609 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.1479, allocations: 8.031 kB / 0.9609 GB, free: 36 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.1479, allocations: 0 / 0.9609 GB, free: 36 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-06/0.1479, allocations: 0 / 0.9609 GB, free: 36 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1479, allocations: 0 / 0.9609 GB, free: 36 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-06/0.1479, allocations: 4 kB / 0.9609 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1479, allocations: 0 / 0.9609 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1479, allocations: 0 / 0.9609 GB, free: 32 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.383e-05/0.148, allocations: 69 kB / 0.9609 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-06/0.148, allocations: 0 / 0.9609 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.148, allocations: 0 / 0.9609 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-06/0.148, allocations: 4.031 kB / 0.961 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.148, allocations: 7.938 kB / 0.961 GB, free: 15.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.495e-05/0.1481, allocations: 17.09 kB / 0.961 GB, free: 15.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1481, allocations: 0 / 0.961 GB, free: 15.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 9.488e-05/0.1482, allocations: 4 kB / 0.961 GB, free: 15.91 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 7.996e-05/0.1482, allocations: 80.42 kB / 0.9611 GB, free: 15.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.499e-05/0.1483, allocations: 16.8 kB / 0.9611 GB, free: 15.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1483, allocations: 4 kB / 0.9611 GB, free: 15.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.1483, allocations: 17.03 kB / 0.9611 GB, free: 15.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.1484, allocations: 11.94 kB / 0.9611 GB, free: 15.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.1491, allocations: 135.2 kB / 0.9612 GB, free: 15.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.261e-05/0.1491, allocations: 51.36 kB / 0.9613 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.1492, allocations: 12 kB / 0.9613 GB, free: 15.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.1492, allocations: 67.34 kB / 0.9614 GB, free: 15.46 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/0.1492, allocations: 0 / 0.9614 GB, free: 15.46 MB / 0.948 GB Notification: Performance of Templates: time 0.002196/0.1514, allocations: 0.6399 MB / 0.962 GB, free: 14.86 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.304399276152253]