Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001296/0.001296, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001395/0.001395, allocations: 216.4 kB / 23.01 MB, free: 4.566 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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.002096/0.002096, allocations: 72.52 kB / 1.119 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3048, allocations: 169.9 MB / 1.285 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1776/0.4824, allocations: 151.6 MB / 1.433 GB, free: 11.11 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.4826, allocations: 55.72 kB / 1.433 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.4826, allocations: 0 / 1.433 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.4827, allocations: 3.938 kB / 1.433 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.4828, allocations: 11.92 kB / 1.433 GB, free: 11.04 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007952/0.4836, allocations: 227.2 kB / 1.433 GB, free: 10.82 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.4837, allocations: 31.8 kB / 1.433 GB, free: 10.79 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.4837, allocations: 4 kB / 1.433 GB, free: 10.78 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.4838, allocations: 19.97 kB / 1.433 GB, free: 10.76 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.4839, allocations: 8 kB / 1.433 GB, free: 10.75 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.4839, allocations: 0 / 1.433 GB, free: 10.75 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.4844, allocations: 215.3 kB / 1.433 GB, free: 10.54 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.4844, allocations: 19.91 kB / 1.433 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.4845, allocations: 8 kB / 1.433 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.4847, allocations: 119.6 kB / 1.433 GB, free: 10.4 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4847, allocations: 4 kB / 1.433 GB, free: 10.39 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4847, allocations: 0 / 1.433 GB, free: 10.39 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4847, allocations: 0 / 1.433 GB, free: 10.39 MB / 1.139 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.000412/0.4851, allocations: 266.2 kB / 1.434 GB, free: 10.11 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4852, allocations: 8.031 kB / 1.434 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.4855, allocations: 24.91 kB / 1.434 GB, free: 10.07 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4856, allocations: 114.5 kB / 1.434 GB, free: 9.938 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.4857, allocations: 59.34 kB / 1.434 GB, free: 9.867 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.4857, allocations: 0 / 1.434 GB, free: 9.867 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.4859, allocations: 49.67 kB / 1.434 GB, free: 9.812 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4859, allocations: 0 / 1.434 GB, free: 9.812 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4859, allocations: 0 / 1.434 GB, free: 9.812 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.4859, allocations: 11.88 kB / 1.434 GB, free: 9.801 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.486, allocations: 23.92 kB / 1.434 GB, free: 9.777 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.4863, allocations: 232 kB / 1.434 GB, free: 9.508 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 5.978e-05/0.4864, allocations: 18.58 kB / 1.434 GB, free: 9.48 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.4864, allocations: 12.92 kB / 1.434 GB, free: 9.465 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.4865, allocations: 19.98 kB / 1.434 GB, free: 9.445 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.4866, allocations: 30.56 kB / 1.434 GB, free: 9.406 MB / 1.139 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4866, allocations: 4 kB / 1.434 GB, free: 9.402 MB / 1.139 GB Notification: Performance of matching and sorting (n=2): time 0.0002416/0.4868, allocations: 53.58 kB / 1.434 GB, free: 9.344 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4869, allocations: 55.41 kB / 1.434 GB, free: 9.277 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.487, allocations: 105.8 kB / 1.434 GB, free: 9.164 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.487, allocations: 25.7 kB / 1.434 GB, free: 9.133 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.487, allocations: 88.09 kB / 1.434 GB, free: 9.043 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.487, allocations: 11.89 kB / 1.434 GB, free: 9.031 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.4871, allocations: 21.83 kB / 1.435 GB, free: 9.004 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4872, allocations: 314.8 kB / 1.435 GB, free: 8.688 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.4873, allocations: 4 kB / 1.435 GB, free: 8.684 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.4873, allocations: 22.56 kB / 1.435 GB, free: 8.652 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/0.4873, allocations: 30.52 kB / 1.435 GB, free: 8.613 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4873, allocations: 4 kB / 1.435 GB, free: 8.609 MB / 1.139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.527e-05/0.4874, allocations: 53.62 kB / 1.435 GB, free: 8.551 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4874, allocations: 8 kB / 1.435 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4874, allocations: 0 / 1.435 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4875, allocations: 0 / 1.435 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.4875, allocations: 8 kB / 1.435 GB, free: 8.535 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4875, allocations: 3.938 kB / 1.435 GB, free: 8.531 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.4876, allocations: 8 kB / 1.435 GB, free: 8.523 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.4876, allocations: 4 kB / 1.435 GB, free: 8.52 MB / 1.139 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.66e-05/0.4877, allocations: 117.9 kB / 1.435 GB, free: 8.395 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.4877, allocations: 7.953 kB / 1.435 GB, free: 8.387 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.4877, allocations: 7.312 kB / 1.435 GB, free: 8.379 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4877, allocations: 0 / 1.435 GB, free: 8.379 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4877, allocations: 3.938 kB / 1.435 GB, free: 8.375 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.4877, allocations: 0 / 1.435 GB, free: 8.375 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.4881, allocations: 338.6 kB / 1.435 GB, free: 7.988 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4881, allocations: 3.938 kB / 1.435 GB, free: 7.984 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.4881, allocations: 4 kB / 1.435 GB, free: 7.98 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4881, allocations: 3.938 kB / 1.435 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.4881, allocations: 0 / 1.435 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4881, allocations: 0 / 1.435 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4881, allocations: 0 / 1.435 GB, free: 7.977 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.975e-05/0.4882, allocations: 78.05 kB / 1.435 GB, free: 7.879 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.4882, allocations: 7.875 kB / 1.436 GB, free: 7.871 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.4882, allocations: 4 kB / 1.436 GB, free: 7.867 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.4883, allocations: 3.938 kB / 1.436 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.4883, allocations: 7.984 kB / 1.436 GB, free: 7.855 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4883, allocations: 288 / 1.436 GB, free: 7.855 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.582e-05/0.4884, allocations: 87.27 kB / 1.436 GB, free: 7.77 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.4884, allocations: 0 / 1.436 GB, free: 7.77 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0001955/0.4886, allocations: 8 kB / 1.436 GB, free: 7.762 MB / 1.139 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.0001204/0.4887, allocations: 99.28 kB / 1.436 GB, free: 7.656 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.4888, allocations: 19.92 kB / 1.436 GB, free: 7.637 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4888, allocations: 0 / 1.436 GB, free: 7.637 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.4888, allocations: 4 kB / 1.436 GB, free: 7.633 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.489, allocations: 9.969 kB / 1.436 GB, free: 7.625 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.4893, allocations: 153.3 kB / 1.436 GB, free: 7.441 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.4897, allocations: 0.6806 MB / 1.437 GB, free: 6.734 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.4897, allocations: 7.438 kB / 1.437 GB, free: 6.727 MB / 1.139 GB Notification: Performance of SimCode: time 3.31e-07/0.4897, allocations: 0 / 1.437 GB, free: 6.727 MB / 1.139 GB Notification: Performance of Templates: time 0.002232/0.4919, allocations: 0.6179 MB / 1.437 GB, free: 6.109 MB / 1.139 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.922271645016735]