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.009039/0.009039, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.002112/0.002112, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.313/2.313, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.954/0.9552, allocations: 140.4 MB / 1.088 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005311/0.9606, allocations: 3.718 MB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000211/0.9608, allocations: 157.8 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.9609, allocations: 0 / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.961, allocations: 2.031 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.9611, allocations: 21.83 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.9615, allocations: 78.69 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.9616, allocations: 38.59 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.9617, allocations: 1.625 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.9617, allocations: 15.41 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.9618, allocations: 16.09 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.9618, allocations: 1.531 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/0.9624, allocations: 186.1 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.9625, allocations: 12.28 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.9625, allocations: 10.34 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.9626, allocations: 43.06 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.9626, allocations: 4 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9626, allocations: 0 / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.9627, allocations: 0.7188 kB / 1.092 GB, free: 2.828 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.0003247/0.963, allocations: 329.1 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.963, allocations: 9.688 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.9631, allocations: 14.52 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.9632, allocations: 166.6 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.9632, allocations: 32.47 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.9632, allocations: 1.781 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.9634, allocations: 42.81 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9634, allocations: 0.8125 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.9634, allocations: 0 / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.9634, allocations: 2.203 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.9635, allocations: 16.84 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.9639, allocations: 336.3 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.174e-05/0.9639, allocations: 20.64 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.9639, allocations: 7.5 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/0.964, allocations: 83.58 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.964, allocations: 40.19 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.964, allocations: 0 / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.9641, allocations: 33.78 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.9642, allocations: 52.19 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.9642, allocations: 106.1 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.9642, allocations: 26.45 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.9643, allocations: 87.19 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.9643, allocations: 4.859 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.9643, allocations: 22.84 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.9644, allocations: 320.9 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.9644, allocations: 6.641 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.9644, allocations: 18.95 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.9644, allocations: 18.31 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9645, allocations: 0 / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.733e-05/0.9645, allocations: 53.81 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.9645, allocations: 5.656 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.9646, allocations: 1 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.9646, allocations: 0 / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.9646, allocations: 7.062 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.9646, allocations: 3.984 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.9647, allocations: 11.08 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.9647, allocations: 1.406 kB / 1.094 GB, free: 0.8867 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 4.552e-05/0.9647, allocations: 119.3 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.9647, allocations: 10.44 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.106e-05/0.9648, allocations: 114.1 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.9649, allocations: 181.8 kB / 1.094 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/0.9649, allocations: 185.9 kB / 1.094 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.9649, allocations: 183.5 kB / 1.095 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.9652, allocations: 411.2 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/0.9652, allocations: 102.6 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.9652, allocations: 106.8 kB / 1.095 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.884e-05/0.9653, allocations: 182.1 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/0.9654, allocations: 178 kB / 1.096 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.49e-05/0.9655, allocations: 182 kB / 1.096 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-05/0.9655, allocations: 181.8 kB / 1.096 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.9657, allocations: 310.4 kB / 1.096 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.9657, allocations: 183.7 kB / 1.096 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.9658, allocations: 183.6 kB / 1.097 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.966, allocations: 109.2 kB / 1.097 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.9661, allocations: 186.6 kB / 1.097 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.9661, allocations: 101.9 kB / 1.097 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.651e-05/0.9662, allocations: 82.19 kB / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9662, allocations: 0 / 1.097 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002471/0.9664, allocations: 16.58 kB / 1.097 GB, free: 13.5 MB / 0.8731 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.0002396/0.9667, allocations: 216.9 kB / 1.097 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.184e-05/0.9667, allocations: 10.98 kB / 1.097 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9668, allocations: 0.7188 kB / 1.097 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.9668, allocations: 0.7969 kB / 1.097 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.9671, allocations: 467.7 kB / 1.098 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.9674, allocations: 184.1 kB / 1.098 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.9676, allocations: 0.6736 MB / 1.099 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.9677, allocations: 8.328 kB / 1.099 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.9677, allocations: 9.656 kB / 1.099 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9677, allocations: 4 kB / 1.099 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.002906/0.9706, allocations: 0.6434 MB / 1.099 GB, free: 11.86 MB / 0.8731 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