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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001096/0.001096, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001103/0.001103, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.541/2.541, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003395, allocations: 12 kB / 0.8707 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6182/0.6185, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003847/0.6224, allocations: 3.145 MB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001583/0.6226, allocations: 123.7 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.6226, allocations: 0 / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.291e-05/0.6227, allocations: 11.98 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.6228, allocations: 7.984 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.623, allocations: 70.69 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.591e-05/0.6231, allocations: 11.98 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.6231, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.6232, allocations: 19.97 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.6233, allocations: 7.938 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.6233, allocations: 3.938 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.6237, allocations: 155.7 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.6238, allocations: 4 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.6238, allocations: 33.69 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.361e-05/0.6239, allocations: 19.98 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.6239, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6239, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.6239, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.7794 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.0003366/0.6243, allocations: 337.2 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.6243, allocations: 15.97 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.6243, allocations: 7.938 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.6245, allocations: 159.1 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/0.6246, allocations: 29.66 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.6246, allocations: 7.938 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.6247, allocations: 45.67 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.6247, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.6248, allocations: 3.984 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.6248, allocations: 4 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.6248, allocations: 19.98 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.6253, allocations: 334 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.256e-05/0.6253, allocations: 18.52 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.6254, allocations: 85.16 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6255, allocations: 38.56 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.6255, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.6256, allocations: 29.7 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.6257, allocations: 51.41 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.6257, allocations: 109.8 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.6258, allocations: 25.7 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.6258, allocations: 92.08 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.6258, allocations: 7.844 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.6258, allocations: 4 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.626, allocations: 322.9 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.626, allocations: 0 / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.626, allocations: 17.72 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.626, allocations: 4 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.626, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.246e-05/0.6261, allocations: 53.62 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6261, allocations: 8.062 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6261, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6262, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.6262, allocations: 11.98 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.6262, allocations: 0 / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.6263, allocations: 3.938 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.6263, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/0.6263, allocations: 113.8 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.6264, allocations: 0 / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.6265, allocations: 136.7 kB / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/0.6266, allocations: 176.3 kB / 1.026 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-05/0.6266, allocations: 180.3 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-05/0.6267, allocations: 180.2 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.6269, allocations: 409.2 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/0.627, allocations: 108.9 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.627, allocations: 101 kB / 1.027 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.597e-05/0.6271, allocations: 180.2 kB / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.6271, allocations: 188.2 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.847e-05/0.6272, allocations: 176.3 kB / 1.028 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-05/0.6273, allocations: 184.2 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.6274, allocations: 315.7 kB / 1.028 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.6275, allocations: 182.1 kB / 1.029 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.6276, allocations: 176.3 kB / 1.029 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.6277, allocations: 112.9 kB / 1.029 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.6278, allocations: 184.5 kB / 1.029 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.6278, allocations: 104.9 kB / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.6279, allocations: 87.27 kB / 1.029 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6279, allocations: 0 / 1.029 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002351/0.6281, allocations: 12 kB / 1.029 GB, free: 7.957 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.6283, allocations: 186.5 kB / 1.029 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.233e-05/0.6284, allocations: 16 kB / 1.029 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6284, allocations: 0 / 1.029 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.6284, allocations: 0 / 1.029 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.6287, allocations: 0.5262 MB / 1.03 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.629, allocations: 199.9 kB / 1.03 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.6292, allocations: 0.677 MB / 1.031 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.6293, allocations: 11.97 kB / 1.031 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.6293, allocations: 11.44 kB / 1.031 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6293, allocations: 0 / 1.031 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.002339/0.6317, allocations: 0.5489 MB / 1.031 GB, free: 5.73 MB / 0.7794 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","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches