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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 110.8 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002018, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.799/1.799, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.357/3.357, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 60.11 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.009267/1.06, allocations: 4.026 MB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003858/1.06, allocations: 155.5 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/1.06, allocations: 0 / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/1.061, allocations: 3.938 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/1.061, allocations: 19.91 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/1.061, allocations: 71.75 kB / 1.213 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/1.061, allocations: 39.86 kB / 1.213 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/1.062, allocations: 3.984 kB / 1.213 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/1.062, allocations: 19.92 kB / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/1.062, allocations: 4 kB / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/1.062, allocations: 0 / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/1.062, allocations: 63.8 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/1.062, allocations: 3.984 kB / 1.213 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/1.062, allocations: 15.94 kB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/1.062, allocations: 47.83 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.062, allocations: 0 / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/1.062, allocations: 4 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.959e-06/1.062, allocations: 4 kB / 1.213 GB, free: 9.188 MB / 0.9356 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.0005022/1.063, allocations: 331.4 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.063, allocations: 8.031 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/1.063, allocations: 4.844 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.063, allocations: 164.4 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/1.063, allocations: 34.2 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/1.063, allocations: 384 / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/1.064, allocations: 45.62 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.064, allocations: 4 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/1.064, allocations: 4 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/1.064, allocations: 0 / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/1.064, allocations: 15.92 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/1.064, allocations: 338 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/1.065, allocations: 18.58 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/1.065, allocations: 12.86 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/1.065, allocations: 85.16 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.065, allocations: 34.56 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 2.445e-06/1.065, allocations: 4 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002166/1.065, allocations: 33.64 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.065, allocations: 51.41 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/1.065, allocations: 110 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/1.065, allocations: 25.7 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/1.065, allocations: 85.88 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/1.065, allocations: 3.906 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/1.065, allocations: 17.72 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.066, allocations: 322.8 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/1.066, allocations: 0 / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/1.066, allocations: 21.72 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/1.066, allocations: 29.64 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.066, allocations: 0 / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001444/1.066, allocations: 41.7 kB / 1.215 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.066, allocations: 11.92 kB / 1.215 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.066, allocations: 4 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.066, allocations: 3.938 kB / 1.215 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/1.066, allocations: 4 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/1.066, allocations: 4.062 kB / 1.215 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/1.066, allocations: 3.938 kB / 1.215 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.066, allocations: 4.281 kB / 1.215 GB, free: 7.074 MB / 0.9356 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 0.0001091/1.066, allocations: 115.3 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/1.066, allocations: 4 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/1.067, allocations: 124.8 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-05/1.067, allocations: 184.2 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.679e-05/1.067, allocations: 105 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/1.067, allocations: 186 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.067, allocations: 180.3 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/1.067, allocations: 104.9 kB / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.067, allocations: 184.2 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001303/1.068, allocations: 271.5 kB / 1.216 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002472/1.068, allocations: 375 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.227e-05/1.068, allocations: 104.9 kB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.615e-05/1.068, allocations: 91.27 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of Backend: time 6.41e-07/1.068, allocations: 0 / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006732/1.069, allocations: 102.4 kB / 1.217 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007579/1.07, allocations: 0.8562 MB / 1.217 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.004222/1.074, allocations: 0.5607 MB / 1.218 GB, free: 3.406 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) 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) Reference file matches