Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001687/0.001687, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001509/0.001509, allocations: 215.9 kB / 22.99 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.469/1.469, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.284/3.284, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [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.00211/0.00211, allocations: 71.58 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006056/0.3424, allocations: 3.901 MB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002161/0.3426, allocations: 143.5 kB / 1.369 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.3426, allocations: 3.938 kB / 1.369 GB, free: 9.535 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.622e-05/0.3427, allocations: 3.984 kB / 1.369 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.3428, allocations: 15.92 kB / 1.369 GB, free: 9.516 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.3432, allocations: 86.23 kB / 1.369 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.3433, allocations: 31.86 kB / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.3433, allocations: 4 kB / 1.369 GB, free: 9.398 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.3433, allocations: 15.97 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.3434, allocations: 19.88 kB / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3434, allocations: 4 kB / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.3436, allocations: 51.8 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.3436, allocations: 7.984 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.3437, allocations: 8 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.3438, allocations: 63.8 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3438, allocations: 3.938 kB / 1.369 GB, free: 9.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3438, allocations: 0 / 1.369 GB, free: 9.227 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.3438, allocations: 0 / 1.369 GB, free: 9.227 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003844/0.3442, allocations: 258.3 kB / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3443, allocations: 12.03 kB / 1.369 GB, free: 8.934 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3443, allocations: 8.938 kB / 1.369 GB, free: 8.926 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3444, allocations: 110.5 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/0.3445, allocations: 51.97 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3445, allocations: 384 / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3446, allocations: 83.25 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3447, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3447, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.3447, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.3447, allocations: 11.98 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.3451, allocations: 208.5 kB / 1.37 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.3452, allocations: 34.5 kB / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.3452, allocations: 4.859 kB / 1.37 GB, free: 8.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.3452, allocations: 8.062 kB / 1.37 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3453, allocations: 30.56 kB / 1.37 GB, free: 8.293 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3453, allocations: 0 / 1.37 GB, free: 8.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.3454, allocations: 37.69 kB / 1.37 GB, free: 8.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.3454, allocations: 55.34 kB / 1.37 GB, free: 8.184 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.3455, allocations: 101.9 kB / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3455, allocations: 29.64 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.3456, allocations: 92.2 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-06/0.3456, allocations: 7.953 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.3456, allocations: 13.72 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3458, allocations: 314.8 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.3458, allocations: 8 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.3458, allocations: 17.7 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.3459, allocations: 21.72 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3459, allocations: 0 / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.08e-05/0.346, allocations: 49.62 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.346, allocations: 13.94 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.346, allocations: 0 / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.346, allocations: 0 / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.981e-05/0.346, allocations: 4 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.346, allocations: 0 / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.346, allocations: 4 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3461, allocations: 3.984 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.845e-05/0.3461, allocations: 113.8 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3462, allocations: 0 / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3463, allocations: 132.8 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.371e-05/0.3464, allocations: 180.2 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.87e-05/0.3465, allocations: 184.2 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.288e-05/0.3465, allocations: 176.3 kB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3468, allocations: 364.7 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-05/0.3468, allocations: 101 kB / 1.372 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.3469, allocations: 105 kB / 1.372 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.139e-05/0.347, allocations: 184.2 kB / 1.372 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/0.3471, allocations: 176.3 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.843e-05/0.3471, allocations: 184.2 kB / 1.372 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.984e-05/0.3472, allocations: 188.2 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3474, allocations: 307.7 kB / 1.373 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.3475, allocations: 109 kB / 1.373 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3476, allocations: 184.2 kB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3477, allocations: 105 kB / 1.373 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.3478, allocations: 184.1 kB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.3479, allocations: 105 kB / 1.373 GB, free: 4.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.3479, allocations: 87.27 kB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3479, allocations: 0 / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002489/0.3482, allocations: 15.94 kB / 1.373 GB, free: 4.168 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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.0002006/0.3484, allocations: 198.4 kB / 1.374 GB, free: 3.961 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.39e-05/0.3485, allocations: 11.92 kB / 1.374 GB, free: 3.949 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3485, allocations: 0 / 1.374 GB, free: 3.949 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3485, allocations: 0 / 1.374 GB, free: 3.949 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.349, allocations: 463.9 kB / 1.374 GB, free: 3.492 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.3492, allocations: 211.8 kB / 1.374 GB, free: 3.254 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.891e-05/0.3493, allocations: 55.36 kB / 1.374 GB, free: 3.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.3493, allocations: 15.42 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3493, allocations: 4.125 kB / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of Templates: time 0.002293/0.3516, allocations: 0.725 MB / 1.375 GB, free: 2.438 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 11.262927778065205]