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.001498/0.001498, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001837/0.001837, allocations: 217.6 kB / 23.04 MB, free: 5.074 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 65.25 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3589, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1979/0.5568, allocations: 151.2 MB / 1.474 GB, free: 10.2 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001955/0.557, allocations: 67.73 kB / 1.474 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.5571, allocations: 0 / 1.474 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.5572, allocations: 4 kB / 1.474 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 8.916e-05/0.5573, allocations: 11.91 kB / 1.474 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.5578, allocations: 110.8 kB / 1.474 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.558, allocations: 35.91 kB / 1.474 GB, free: 9.98 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.558, allocations: 7.984 kB / 1.474 GB, free: 9.973 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.5581, allocations: 19.86 kB / 1.475 GB, free: 9.953 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.5581, allocations: 11.98 kB / 1.475 GB, free: 9.941 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.5581, allocations: 0 / 1.475 GB, free: 9.941 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.5585, allocations: 91.7 kB / 1.475 GB, free: 9.852 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.5585, allocations: 19.92 kB / 1.475 GB, free: 9.832 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.5586, allocations: 7.984 kB / 1.475 GB, free: 9.824 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.5588, allocations: 76.06 kB / 1.475 GB, free: 9.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5588, allocations: 0 / 1.475 GB, free: 9.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5588, allocations: 4 kB / 1.475 GB, free: 9.746 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5588, allocations: 0 / 1.475 GB, free: 9.746 MB / 1.17 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.0004551/0.5592, allocations: 266.2 kB / 1.475 GB, free: 9.457 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5593, allocations: 8.031 kB / 1.475 GB, free: 9.449 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.633e-05/0.5593, allocations: 192 / 1.475 GB, free: 9.449 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.5593, allocations: 30.75 kB / 1.475 GB, free: 9.41 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.5596, allocations: 16.92 kB / 1.475 GB, free: 9.395 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.5597, allocations: 118.1 kB / 1.475 GB, free: 9.254 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/0.5598, allocations: 55.41 kB / 1.475 GB, free: 9.188 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.5598, allocations: 7.938 kB / 1.475 GB, free: 9.18 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.56, allocations: 41.67 kB / 1.475 GB, free: 9.133 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.56, allocations: 3.984 kB / 1.475 GB, free: 9.129 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.56, allocations: 4 kB / 1.475 GB, free: 9.125 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.56, allocations: 7.984 kB / 1.475 GB, free: 9.117 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.5601, allocations: 19.98 kB / 1.475 GB, free: 9.098 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.5605, allocations: 232 kB / 1.475 GB, free: 8.828 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 5.103e-05/0.5606, allocations: 18.52 kB / 1.476 GB, free: 8.801 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.5606, allocations: 4.859 kB / 1.476 GB, free: 8.793 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.5606, allocations: 0 / 1.476 GB, free: 8.793 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.5606, allocations: 38.61 kB / 1.476 GB, free: 8.746 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5606, allocations: 4 kB / 1.476 GB, free: 8.742 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001648/0.5608, allocations: 37.58 kB / 1.476 GB, free: 8.699 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.5608, allocations: 51.41 kB / 1.476 GB, free: 8.637 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5609, allocations: 113.8 kB / 1.476 GB, free: 8.516 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.561, allocations: 29.64 kB / 1.476 GB, free: 8.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.561, allocations: 88.09 kB / 1.476 GB, free: 8.391 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.561, allocations: 11.83 kB / 1.476 GB, free: 8.379 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.5611, allocations: 17.84 kB / 1.476 GB, free: 8.355 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5612, allocations: 318.8 kB / 1.476 GB, free: 8.035 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.5612, allocations: 4 kB / 1.476 GB, free: 8.031 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.5613, allocations: 22.58 kB / 1.476 GB, free: 8 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.5613, allocations: 34.5 kB / 1.476 GB, free: 7.957 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5613, allocations: 4 kB / 1.476 GB, free: 7.953 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.521e-05/0.5614, allocations: 53.62 kB / 1.476 GB, free: 7.895 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5614, allocations: 8 kB / 1.476 GB, free: 7.887 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5614, allocations: 0 / 1.476 GB, free: 7.887 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5615, allocations: 3.938 kB / 1.476 GB, free: 7.883 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.5615, allocations: 8 kB / 1.476 GB, free: 7.875 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.5615, allocations: 0 / 1.476 GB, free: 7.875 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.5616, allocations: 3.953 kB / 1.476 GB, free: 7.871 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.5616, allocations: 7.984 kB / 1.476 GB, free: 7.863 MB / 1.17 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 9.122e-05/0.5617, allocations: 109.9 kB / 1.476 GB, free: 7.746 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.5617, allocations: 8 kB / 1.476 GB, free: 7.738 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.5617, allocations: 7.141 kB / 1.476 GB, free: 7.727 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5617, allocations: 3.938 kB / 1.476 GB, free: 7.723 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5617, allocations: 0 / 1.476 GB, free: 7.723 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5617, allocations: 0 / 1.476 GB, free: 7.723 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.562, allocations: 313.8 kB / 1.477 GB, free: 7.363 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.562, allocations: 11.97 kB / 1.477 GB, free: 7.352 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.5621, allocations: 0 / 1.477 GB, free: 7.352 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5621, allocations: 0 / 1.477 GB, free: 7.352 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.5621, allocations: 0 / 1.477 GB, free: 7.352 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.5621, allocations: 0 / 1.477 GB, free: 7.352 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5621, allocations: 0 / 1.477 GB, free: 7.352 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.927e-05/0.5622, allocations: 61.12 kB / 1.477 GB, free: 7.273 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.5622, allocations: 7.891 kB / 1.477 GB, free: 7.266 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.5622, allocations: 11.97 kB / 1.477 GB, free: 7.254 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.5623, allocations: 7.922 kB / 1.477 GB, free: 7.246 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.5623, allocations: 0 / 1.477 GB, free: 7.246 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.5623, allocations: 4 kB / 1.477 GB, free: 7.242 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.5624, allocations: 87.53 kB / 1.477 GB, free: 7.156 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.5624, allocations: 0 / 1.477 GB, free: 7.156 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001954/0.5625, allocations: 4 kB / 1.477 GB, free: 7.152 MB / 1.17 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 0.0004095/0.563, allocations: 0.6007 MB / 1.478 GB, free: 6.523 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.697e-05/0.5631, allocations: 15.94 kB / 1.478 GB, free: 6.508 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5631, allocations: 0 / 1.478 GB, free: 6.508 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.5631, allocations: 11.92 kB / 1.478 GB, free: 6.496 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.5633, allocations: 4 kB / 1.478 GB, free: 6.492 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.5638, allocations: 140.8 kB / 1.478 GB, free: 6.316 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.5641, allocations: 0.6806 MB / 1.478 GB, free: 5.609 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.958e-05/0.5641, allocations: 12.02 kB / 1.478 GB, free: 5.598 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.5642, allocations: 7.438 kB / 1.478 GB, free: 5.59 MB / 1.17 GB Notification: Performance of SimCode: time 3.31e-07/0.5642, allocations: 0 / 1.478 GB, free: 5.59 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.5876, allocations: 1.49 MB / 1.48 GB, free: 4.246 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.98, allocations: 13.7 kB / 1.48 GB, free: 4.238 MB / 1.17 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.234115433995612]