Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.008454/0.008454, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001516/0.001516, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 62.03 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3445, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005697/0.3502, allocations: 3.726 MB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000209/0.3504, allocations: 159.5 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.3505, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3506, allocations: 7.984 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.3507, allocations: 7.938 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.3511, allocations: 87.69 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.3512, allocations: 35.89 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.3513, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.3513, allocations: 19.86 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.3514, allocations: 11.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.3514, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.352, allocations: 183.4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.3521, allocations: 3.984 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.3521, allocations: 15.94 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.3523, allocations: 43.89 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3523, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3523, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3523, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 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.0004687/0.3528, allocations: 331.5 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3528, allocations: 8.031 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.3529, allocations: 8.828 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.353, allocations: 172.3 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.3531, allocations: 26.27 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.3531, allocations: 4.375 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3532, allocations: 49.56 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3533, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3533, allocations: 4 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.3533, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.3534, allocations: 11.98 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.3539, allocations: 334 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.3539, allocations: 26.52 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.354, allocations: 4.859 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.462e-05/0.3541, allocations: 89.09 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3541, allocations: 38.56 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3541, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.3543, allocations: 29.7 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3543, allocations: 55.53 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.3544, allocations: 105.8 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.3544, allocations: 25.7 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.3545, allocations: 88.03 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.3545, allocations: 7.844 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.3545, allocations: 21.7 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3547, allocations: 318.8 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.3547, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.3547, allocations: 21.72 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.3548, allocations: 21.7 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3548, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.065e-05/0.3549, allocations: 49.62 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3549, allocations: 8 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3549, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3549, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.432e-05/0.355, allocations: 8.062 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.355, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.355, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.355, allocations: 7.922 kB / 1.094 GB, free: 11.08 MB / 0.8575 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.037e-05/0.3551, allocations: 119.8 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3551, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3552, allocations: 126.9 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.93e-05/0.3553, allocations: 180.3 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.235e-05/0.3554, allocations: 184.2 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-05/0.3555, allocations: 184.2 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.3557, allocations: 413 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001088/0.3558, allocations: 105 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.3559, allocations: 109 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.645e-05/0.356, allocations: 180.5 kB / 1.095 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.356, allocations: 176.3 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-05/0.3561, allocations: 180.2 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.643e-05/0.3562, allocations: 184.2 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.3564, allocations: 311.7 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.3565, allocations: 182.1 kB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.3565, allocations: 192.1 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.3567, allocations: 105 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3568, allocations: 176.3 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.3569, allocations: 116.9 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.3569, allocations: 87.2 kB / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3569, allocations: 0 / 1.097 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003132/0.3572, allocations: 20 kB / 1.097 GB, free: 7.602 MB / 0.8575 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.00027/0.3575, allocations: 198.4 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.3576, allocations: 4.062 kB / 1.097 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3576, allocations: 8 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.3576, allocations: 4 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.358, allocations: 459.7 kB / 1.098 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.3583, allocations: 177.9 kB / 1.098 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3587, allocations: 0.6807 MB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.678e-05/0.3587, allocations: 4 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.3587, allocations: 11.44 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of SimCode: time 1.653e-06/0.3587, allocations: 0 / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of Templates: time 0.002913/0.3617, allocations: 0.6465 MB / 1.099 GB, free: 5.371 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches