Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00175/0.00175, allocations: 78.88 kB / 19.76 MB, free: 2.035 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.002054/0.002054, allocations: 157 kB / 23.01 MB, free: 4.945 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.525/1.525, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.865/2.865, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.003469/0.003469, allocations: 79.86 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9451/0.9486, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1893/1.138, allocations: 130.4 MB / 1.314 GB, free: 3.586 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.000166/1.138, allocations: 51.86 kB / 1.314 GB, free: 3.535 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/1.138, allocations: 0 / 1.314 GB, free: 3.535 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/1.138, allocations: 0 / 1.314 GB, free: 3.535 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/1.138, allocations: 15.92 kB / 1.314 GB, free: 3.52 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000916/1.139, allocations: 218.4 kB / 1.314 GB, free: 3.309 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.511e-05/1.139, allocations: 35.89 kB / 1.314 GB, free: 3.273 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/1.139, allocations: 0 / 1.314 GB, free: 3.273 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/1.139, allocations: 16 kB / 1.314 GB, free: 3.258 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/1.139, allocations: 19.84 kB / 1.314 GB, free: 3.238 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/1.14, allocations: 4 kB / 1.314 GB, free: 3.234 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/1.14, allocations: 155.5 kB / 1.314 GB, free: 3.082 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/1.14, allocations: 4 kB / 1.314 GB, free: 3.078 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/1.14, allocations: 11.92 kB / 1.314 GB, free: 3.066 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/1.14, allocations: 107.1 kB / 1.314 GB, free: 2.969 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.14, allocations: 4 kB / 1.314 GB, free: 2.965 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.693e-06/1.14, allocations: 0 / 1.314 GB, free: 2.965 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.49e-06/1.14, allocations: 0 / 1.314 GB, free: 2.965 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.0004508/1.141, allocations: 266.2 kB / 1.315 GB, free: 2.676 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.141, allocations: 12.03 kB / 1.315 GB, free: 2.664 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/1.141, allocations: 28.86 kB / 1.315 GB, free: 2.637 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.141, allocations: 110.5 kB / 1.315 GB, free: 2.504 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/1.141, allocations: 55.34 kB / 1.315 GB, free: 2.438 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/1.141, allocations: 0 / 1.315 GB, free: 2.438 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/1.142, allocations: 79.33 kB / 1.315 GB, free: 2.348 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/1.142, allocations: 4 kB / 1.315 GB, free: 2.344 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/1.142, allocations: 0 / 1.315 GB, free: 2.344 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/1.142, allocations: 0 / 1.315 GB, free: 2.344 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/1.142, allocations: 19.98 kB / 1.315 GB, free: 2.324 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/1.142, allocations: 216.5 kB / 1.315 GB, free: 2.082 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/1.142, allocations: 22.58 kB / 1.315 GB, free: 2.051 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/1.142, allocations: 8.797 kB / 1.315 GB, free: 2.039 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/1.142, allocations: 20.05 kB / 1.315 GB, free: 2.02 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.142, allocations: 30.56 kB / 1.315 GB, free: 1.98 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/1.142, allocations: 0 / 1.315 GB, free: 1.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002592/1.143, allocations: 49.69 kB / 1.315 GB, free: 1.926 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/1.143, allocations: 51.41 kB / 1.315 GB, free: 1.863 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/1.143, allocations: 109.8 kB / 1.316 GB, free: 1.746 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/1.143, allocations: 29.64 kB / 1.316 GB, free: 1.711 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/1.143, allocations: 88.09 kB / 1.316 GB, free: 1.621 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/1.143, allocations: 12.08 kB / 1.316 GB, free: 1.609 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/1.143, allocations: 13.72 kB / 1.316 GB, free: 1.59 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.143, allocations: 322.7 kB / 1.316 GB, free: 1.266 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/1.143, allocations: 7.984 kB / 1.316 GB, free: 1.258 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/1.143, allocations: 18.77 kB / 1.316 GB, free: 1.23 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.104e-05/1.143, allocations: 26.58 kB / 1.316 GB, free: 1.195 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.143, allocations: 4 kB / 1.316 GB, free: 1.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/1.143, allocations: 65.73 kB / 1.316 GB, free: 1.121 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.143, allocations: 4 kB / 1.316 GB, free: 1.117 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/1.143, allocations: 7.922 kB / 1.316 GB, free: 1.109 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.143, allocations: 0 / 1.316 GB, free: 1.109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/1.143, allocations: 11.98 kB / 1.316 GB, free: 1.098 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.143, allocations: 0 / 1.316 GB, free: 1.098 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/1.143, allocations: 7.875 kB / 1.316 GB, free: 1.09 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/1.143, allocations: 4 kB / 1.316 GB, free: 1.086 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 9.098e-05/1.143, allocations: 109.8 kB / 1.316 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/1.143, allocations: 0 / 1.316 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/1.143, allocations: 11.34 kB / 1.316 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.143, allocations: 0 / 1.316 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.143, allocations: 4 kB / 1.316 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.143, allocations: 7.922 kB / 1.316 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/1.144, allocations: 311.2 kB / 1.317 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.144, allocations: 0 / 1.317 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/1.144, allocations: 8 kB / 1.317 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.144, allocations: 0 / 1.317 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/1.144, allocations: 4 kB / 1.317 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.144, allocations: 3.938 kB / 1.317 GB, free: 0.582 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.144, allocations: 4.062 kB / 1.317 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/1.144, allocations: 73.92 kB / 1.317 GB, free: 496 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/1.144, allocations: 4 kB / 1.317 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/1.144, allocations: 4 kB / 1.317 GB, free: 488 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/1.144, allocations: 3.938 kB / 1.317 GB, free: 484 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/1.144, allocations: 3.984 kB / 1.317 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/1.144, allocations: 4 kB / 1.317 GB, free: 476 kB / 1.154 GB Notification: Performance of sorting global known variables: time 5.146e-05/1.144, allocations: 83.28 kB / 1.317 GB, free: 392 kB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.144, allocations: 0 / 1.317 GB, free: 392 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002039/1.144, allocations: 4 kB / 1.317 GB, free: 388 kB / 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.0001391/1.145, allocations: 103.2 kB / 1.317 GB, free: 276 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002148/1.145, allocations: 27.92 kB / 1.317 GB, free: 248 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.145, allocations: 0 / 1.317 GB, free: 248 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/1.145, allocations: 7.938 kB / 1.317 GB, free: 240 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/1.145, allocations: 4 kB / 1.317 GB, free: 236 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/1.145, allocations: 127.8 kB / 1.317 GB, free: 76 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.875e-05/1.145, allocations: 59.34 kB / 1.317 GB, free: 16 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.344e-05/1.146, allocations: 7.984 kB / 1.317 GB, free: 15.99 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/1.146, allocations: 12.5 kB / 1.317 GB, free: 15.98 MB / 1.17 GB Notification: Performance of SimCode: time 5.91e-07/1.146, allocations: 0 / 1.317 GB, free: 15.98 MB / 1.17 GB Notification: Performance of Templates: time 0.003339/1.149, allocations: 0.5919 MB / 1.318 GB, free: 15.39 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.29680408805143]