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.001958/0.001958, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002124/0.002124, allocations: 211 kB / 22.24 MB, free: 5.262 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.789 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.309/3.309, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 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: 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: 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.002187/0.002187, allocations: 62.81 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4547, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2011/0.6558, allocations: 130 MB / 1.452 GB, free: 15.43 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001746/0.656, allocations: 55.8 kB / 1.452 GB, free: 15.38 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.656, allocations: 0 / 1.452 GB, free: 15.38 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.6561, allocations: 0 / 1.452 GB, free: 15.38 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.6562, allocations: 19.92 kB / 1.452 GB, free: 15.36 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.6568, allocations: 103.6 kB / 1.453 GB, free: 15.26 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.6569, allocations: 31.91 kB / 1.453 GB, free: 15.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.657, allocations: 3.984 kB / 1.453 GB, free: 15.22 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.657, allocations: 23.92 kB / 1.453 GB, free: 15.2 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.6571, allocations: 11.92 kB / 1.453 GB, free: 15.19 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.6571, allocations: 4 kB / 1.453 GB, free: 15.18 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.6574, allocations: 71.73 kB / 1.453 GB, free: 15.11 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.6575, allocations: 11.98 kB / 1.453 GB, free: 15.1 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.6575, allocations: 11.94 kB / 1.453 GB, free: 15.09 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.6577, allocations: 59.86 kB / 1.453 GB, free: 15.03 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/0.6577, allocations: 3.984 kB / 1.453 GB, free: 15.03 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6577, allocations: 0 / 1.453 GB, free: 15.03 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.6577, allocations: 0 / 1.453 GB, free: 15.03 MB / 1.154 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.0005232/0.6582, allocations: 266.2 kB / 1.453 GB, free: 14.74 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.6583, allocations: 11.97 kB / 1.453 GB, free: 14.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.6585, allocations: 20.92 kB / 1.453 GB, free: 14.71 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.6587, allocations: 114.5 kB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-05/0.6588, allocations: 55.34 kB / 1.453 GB, free: 14.5 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.6588, allocations: 0 / 1.453 GB, free: 14.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.659, allocations: 79.31 kB / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.659, allocations: 0 / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.659, allocations: 0 / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.659, allocations: 4 kB / 1.453 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.914e-05/0.6591, allocations: 15.98 kB / 1.453 GB, free: 14.39 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.6595, allocations: 212.5 kB / 1.454 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.6596, allocations: 18.58 kB / 1.454 GB, free: 14.13 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.6596, allocations: 8.797 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.6596, allocations: 4.031 kB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.6596, allocations: 34.62 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6597, allocations: 0 / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.6598, allocations: 33.64 kB / 1.454 GB, free: 14.03 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.6599, allocations: 55.41 kB / 1.454 GB, free: 13.96 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.66, allocations: 117.9 kB / 1.454 GB, free: 13.84 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.66, allocations: 25.7 kB / 1.454 GB, free: 13.81 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.6601, allocations: 91.98 kB / 1.454 GB, free: 13.71 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.6601, allocations: 0 / 1.454 GB, free: 13.71 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.6601, allocations: 17.72 kB / 1.454 GB, free: 13.69 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6603, allocations: 318.8 kB / 1.454 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.6603, allocations: 3.938 kB / 1.454 GB, free: 13.37 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.6603, allocations: 26.58 kB / 1.454 GB, free: 13.33 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.6604, allocations: 34.56 kB / 1.454 GB, free: 13.29 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6604, allocations: 0 / 1.454 GB, free: 13.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.737e-05/0.6604, allocations: 53.62 kB / 1.454 GB, free: 13.23 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.6605, allocations: 5.719 kB / 1.454 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6605, allocations: 4 kB / 1.454 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6605, allocations: 0 / 1.454 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.6606, allocations: 7.938 kB / 1.454 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6606, allocations: 4 kB / 1.454 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.6606, allocations: 11.83 kB / 1.454 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.6606, allocations: 4 kB / 1.454 GB, free: 13.2 MB / 1.154 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 0.0001082/0.6607, allocations: 114.5 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.6608, allocations: 4 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.6608, allocations: 7.391 kB / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6608, allocations: 0 / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.6608, allocations: 4 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6608, allocations: 3.938 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.6611, allocations: 294.4 kB / 1.455 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6611, allocations: 0 / 1.455 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.6611, allocations: 4 kB / 1.455 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.6611, allocations: 4.031 kB / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.6611, allocations: 96 / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.6611, allocations: 3.938 kB / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.6611, allocations: 0 / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.938e-05/0.6612, allocations: 65.11 kB / 1.455 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.6612, allocations: 7.953 kB / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.6612, allocations: 0 / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.6613, allocations: 3.938 kB / 1.455 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.6613, allocations: 4 kB / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.6613, allocations: 0 / 1.455 GB, free: 12.61 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.105e-05/0.6614, allocations: 87.27 kB / 1.455 GB, free: 12.53 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6614, allocations: 7.969 kB / 1.455 GB, free: 12.52 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001935/0.6616, allocations: 8 kB / 1.455 GB, free: 12.51 MB / 1.154 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.0001293/0.6617, allocations: 99.19 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.6618, allocations: 15.98 kB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6618, allocations: 0 / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-06/0.6618, allocations: 4 kB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6621, allocations: 1.5 kB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.6624, allocations: 126.9 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.286e-05/0.6625, allocations: 59.34 kB / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.6625, allocations: 4 kB / 1.455 GB, free: 12.16 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.6625, allocations: 7.438 kB / 1.455 GB, free: 12.15 MB / 1.154 GB Notification: Performance of SimCode: time 2.61e-07/0.6625, allocations: 0 / 1.455 GB, free: 12.15 MB / 1.154 GB Notification: Performance of Templates: time 0.003316/0.6658, allocations: 0.5475 MB / 1.456 GB, free: 11.62 MB / 1.154 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.677659559994936]