Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001646/0.001646, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001803/0.001803, allocations: 208.5 kB / 22.99 MB, free: 4.984 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.16/3.16, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [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.002017/0.002017, allocations: 66.44 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1651/0.472, allocations: 130.3 MB / 1.454 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.4721, allocations: 55.67 kB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.4721, allocations: 0 / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.4722, allocations: 0 / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.4723, allocations: 15.91 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.4731, allocations: 211.3 kB / 1.455 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.4732, allocations: 35.84 kB / 1.455 GB, free: 13.83 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.4732, allocations: 0 / 1.455 GB, free: 13.83 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.4733, allocations: 19.92 kB / 1.455 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.4733, allocations: 15.97 kB / 1.455 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.4733, allocations: 4 kB / 1.455 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.4737, allocations: 155.4 kB / 1.455 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.4737, allocations: 11.98 kB / 1.455 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.4738, allocations: 15.92 kB / 1.455 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.474, allocations: 111.6 kB / 1.455 GB, free: 13.5 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.474, allocations: 0 / 1.455 GB, free: 13.5 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.202e-06/0.474, allocations: 0 / 1.455 GB, free: 13.5 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.474, allocations: 4 kB / 1.455 GB, free: 13.5 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.0003953/0.4744, allocations: 262.2 kB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4745, allocations: 12.03 kB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.4748, allocations: 20.91 kB / 1.455 GB, free: 13.18 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.4749, allocations: 110.5 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.475, allocations: 55.34 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.475, allocations: 4 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4751, allocations: 75.38 kB / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4751, allocations: 0 / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4752, allocations: 0 / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.4752, allocations: 0 / 1.455 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.425e-05/0.4752, allocations: 27.92 kB / 1.456 GB, free: 12.86 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.4756, allocations: 212.5 kB / 1.456 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 7.887e-05/0.4757, allocations: 26.58 kB / 1.456 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.4757, allocations: 8.844 kB / 1.456 GB, free: 12.58 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.4758, allocations: 16.06 kB / 1.456 GB, free: 12.56 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4759, allocations: 38.56 kB / 1.456 GB, free: 12.52 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4759, allocations: 0 / 1.456 GB, free: 12.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002554/0.4761, allocations: 49.62 kB / 1.456 GB, free: 12.46 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4762, allocations: 51.41 kB / 1.456 GB, free: 12.4 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.4762, allocations: 113.9 kB / 1.456 GB, free: 12.28 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.4763, allocations: 25.7 kB / 1.456 GB, free: 12.25 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.4763, allocations: 88.09 kB / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.4763, allocations: 15.88 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.4764, allocations: 17.72 kB / 1.456 GB, free: 12.12 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4765, allocations: 314.8 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.4765, allocations: 4 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.4766, allocations: 30.5 kB / 1.456 GB, free: 11.76 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.386e-05/0.4766, allocations: 38.52 kB / 1.457 GB, free: 11.71 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.4766, allocations: 0 / 1.457 GB, free: 11.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.507e-05/0.4767, allocations: 53.62 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.4767, allocations: 4 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4767, allocations: 4 kB / 1.457 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4768, allocations: 4 kB / 1.457 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.4768, allocations: 4 kB / 1.457 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4768, allocations: 0 / 1.457 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.4769, allocations: 7.938 kB / 1.457 GB, free: 11.63 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.4769, allocations: 4.031 kB / 1.457 GB, free: 11.62 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.263e-05/0.4769, allocations: 117.8 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.477, allocations: 3.953 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.477, allocations: 7.312 kB / 1.457 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.477, allocations: 4 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.477, allocations: 0 / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.477, allocations: 3.938 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.4773, allocations: 307.2 kB / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4773, allocations: 0 / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.4773, allocations: 7.984 kB / 1.457 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4773, allocations: 4.062 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4773, allocations: 4 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4774, allocations: 3.938 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4774, allocations: 0 / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.568e-05/0.4774, allocations: 66 kB / 1.457 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.4774, allocations: 11.88 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.4775, allocations: 4 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.4776, allocations: 3.938 kB / 1.457 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.4776, allocations: 4 kB / 1.457 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.4776, allocations: 0 / 1.457 GB, free: 11.01 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.4776, allocations: 91.3 kB / 1.457 GB, free: 10.92 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.4776, allocations: 0 / 1.457 GB, free: 10.92 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002066/0.4778, allocations: 8 kB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001192/0.478, allocations: 99.23 kB / 1.457 GB, free: 10.8 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 9.107e-05/0.4781, allocations: 23.92 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4781, allocations: 3.938 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.4781, allocations: 12.19 kB / 1.457 GB, free: 10.77 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4783, allocations: 4 kB / 1.457 GB, free: 10.76 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.4786, allocations: 124.4 kB / 1.457 GB, free: 10.61 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.4786, allocations: 59.34 kB / 1.458 GB, free: 10.53 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.055e-05/0.4787, allocations: 12.47 kB / 1.458 GB, free: 10.52 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.4787, allocations: 11.44 kB / 1.458 GB, free: 10.51 MB / 1.154 GB Notification: Performance of SimCode: time 4.2e-07/0.4787, allocations: 0 / 1.458 GB, free: 10.51 MB / 1.154 GB Notification: Performance of Templates: time 0.003125/0.4818, allocations: 0.6315 MB / 1.458 GB, free: 9.883 MB / 1.154 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.56731614000455]