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.001749/0.001749, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002154/0.002154, allocations: 212.6 kB / 23 MB, free: 4.934 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.138/3.138, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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.002035/0.002035, allocations: 67.48 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1677/0.4843, allocations: 129.9 MB / 1.454 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.4845, allocations: 59.67 kB / 1.454 GB, free: 14.51 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.4845, allocations: 0 / 1.454 GB, free: 14.51 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.4846, allocations: 0 / 1.454 GB, free: 14.51 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.4847, allocations: 19.91 kB / 1.454 GB, free: 14.49 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.4851, allocations: 108.3 kB / 1.454 GB, free: 14.39 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.4852, allocations: 35.91 kB / 1.454 GB, free: 14.35 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.067e-05/0.4853, allocations: 0 / 1.454 GB, free: 14.35 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.4853, allocations: 19.92 kB / 1.454 GB, free: 14.33 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.4854, allocations: 19.91 kB / 1.454 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.4854, allocations: 0 / 1.454 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.4856, allocations: 67.75 kB / 1.454 GB, free: 14.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.4857, allocations: 11.98 kB / 1.454 GB, free: 14.23 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.4857, allocations: 11.94 kB / 1.454 GB, free: 14.22 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.4859, allocations: 71.84 kB / 1.454 GB, free: 14.15 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4859, allocations: 0 / 1.454 GB, free: 14.15 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4859, allocations: 0 / 1.454 GB, free: 14.15 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.4859, allocations: 0 / 1.454 GB, free: 14.15 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.0003913/0.4863, allocations: 262.2 kB / 1.455 GB, free: 13.87 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4863, allocations: 12.02 kB / 1.455 GB, free: 13.86 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.4865, allocations: 20.92 kB / 1.455 GB, free: 13.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.4866, allocations: 110.5 kB / 1.455 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/0.4867, allocations: 55.34 kB / 1.455 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.4867, allocations: 4 kB / 1.455 GB, free: 13.63 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.4869, allocations: 75.31 kB / 1.455 GB, free: 13.55 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4869, allocations: 0 / 1.455 GB, free: 13.55 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4869, allocations: 7.938 kB / 1.455 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4869, allocations: 3.938 kB / 1.455 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.862e-05/0.487, allocations: 19.98 kB / 1.455 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.4874, allocations: 208.5 kB / 1.455 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.6e-05/0.4874, allocations: 22.56 kB / 1.455 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.4874, allocations: 12.86 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/0.4874, allocations: 0 / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.4875, allocations: 30.56 kB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4875, allocations: 0 / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.4876, allocations: 41.69 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.4876, allocations: 51.41 kB / 1.455 GB, free: 13.09 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.4877, allocations: 101.9 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4877, allocations: 25.7 kB / 1.455 GB, free: 12.95 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.4878, allocations: 95.97 kB / 1.455 GB, free: 12.85 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-06/0.4878, allocations: 8.125 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.4878, allocations: 17.72 kB / 1.456 GB, free: 12.82 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.488, allocations: 314.8 kB / 1.456 GB, free: 12.5 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.488, allocations: 15.92 kB / 1.456 GB, free: 12.48 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.488, allocations: 18.58 kB / 1.456 GB, free: 12.46 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.4881, allocations: 26.58 kB / 1.456 GB, free: 12.42 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4881, allocations: 0 / 1.456 GB, free: 12.42 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.264e-05/0.4882, allocations: 57.62 kB / 1.456 GB, free: 12.36 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4882, allocations: 9.719 kB / 1.456 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4882, allocations: 0 / 1.456 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4882, allocations: 0 / 1.456 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.49e-05/0.4883, allocations: 15.92 kB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4883, allocations: 0 / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.4883, allocations: 7.891 kB / 1.456 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4883, allocations: 4 kB / 1.456 GB, free: 12.32 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 8.473e-05/0.4884, allocations: 110.4 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.4884, allocations: 4 kB / 1.456 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.4885, allocations: 7.25 kB / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.4885, allocations: 0 / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4885, allocations: 0 / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.4885, allocations: 11.92 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.4885, allocations: 3.938 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4886, allocations: 0 / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.4886, allocations: 4 kB / 1.456 GB, free: 12.17 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.243e-05/0.4887, allocations: 117.2 kB / 1.456 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001407/0.4888, allocations: 214.7 kB / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.508e-05/0.4889, allocations: 4.062 kB / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.4889, allocations: 87.27 kB / 1.457 GB, free: 11.73 MB / 1.154 GB Notification: Performance of Backend: time 2.61e-07/0.4889, allocations: 3.938 kB / 1.457 GB, free: 11.73 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.4893, allocations: 110.3 kB / 1.457 GB, free: 11.62 MB / 1.154 GB Notification: Performance of SimCode: time 0.0005266/0.4898, allocations: 0.5623 MB / 1.457 GB, free: 11.01 MB / 1.154 GB Notification: Performance of Templates: time 0.003298/0.4931, allocations: 0.776 MB / 1.458 GB, free: 10.25 MB / 1.154 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=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/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: 8.638884450003388]