Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001309, allocations: 118 kB / 16.42 MB, free: 6.441 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.001241/0.001241, allocations: 183.9 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 469.4 MB / 0.7428 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.83 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.775, allocations: 159.1 MB / 1.221 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005267/0.7803, allocations: 3.72 MB / 1.225 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.7806, allocations: 159.4 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.7806, allocations: 4 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.072e-05/0.7807, allocations: 3.984 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.7808, allocations: 15.92 kB / 1.225 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.7811, allocations: 79.67 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.7812, allocations: 39.89 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.7813, allocations: 4 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.7813, allocations: 16 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.7814, allocations: 19.84 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.7814, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.7819, allocations: 183.4 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.782, allocations: 7.969 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.782, allocations: 7.938 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.7822, allocations: 47.75 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.7822, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7822, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.7822, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9512 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.0003543/0.7826, allocations: 335.5 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.7826, allocations: 12.03 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.7826, allocations: 0.9375 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.429e-05/0.7827, allocations: 166.2 kB / 1.226 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.7828, allocations: 30.27 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.7828, allocations: 384 / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.783, allocations: 49.56 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.783, allocations: 0 / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.783, allocations: 4 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.783, allocations: 4 kB / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.7831, allocations: 19.92 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.7835, allocations: 337.9 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.052e-05/0.7835, allocations: 14.58 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.7835, allocations: 8.922 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.7836, allocations: 96.97 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.7837, allocations: 30.56 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.7837, allocations: 0 / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.7838, allocations: 37.7 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.7838, allocations: 51.41 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.7839, allocations: 97.84 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.7839, allocations: 29.7 kB / 1.226 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.784, allocations: 92.17 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/0.784, allocations: 3.938 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.784, allocations: 17.7 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.7841, allocations: 318.8 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.7841, allocations: 4 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.7842, allocations: 17.66 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.7842, allocations: 25.7 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7842, allocations: 4 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.006e-05/0.7843, allocations: 49.62 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.7843, allocations: 4 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7843, allocations: 3.984 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7844, allocations: 4 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.7844, allocations: 4 kB / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7844, allocations: 0 / 1.227 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.7844, allocations: 3.906 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.7845, allocations: 8.062 kB / 1.227 GB, free: 11.86 MB / 0.9512 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 6.285e-05/0.7845, allocations: 110.3 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.7846, allocations: 0 / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.7847, allocations: 124.9 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-05/0.7847, allocations: 184.3 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/0.7848, allocations: 104.9 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.7848, allocations: 190.1 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.7849, allocations: 180.3 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.7851, allocations: 117.1 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.7851, allocations: 180.2 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.277e-05/0.7852, allocations: 267.4 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001403/0.7854, allocations: 379.1 kB / 1.229 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.237e-05/0.7854, allocations: 104.9 kB / 1.229 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.7854, allocations: 83.27 kB / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of Backend: time 3.1e-07/0.7855, allocations: 0 / 1.229 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.7859, allocations: 114.4 kB / 1.229 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004655/0.7864, allocations: 0.8676 MB / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of Templates: time 0.002515/0.7889, allocations: 0.5378 MB / 1.23 GB, free: 8.195 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches