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.009478/0.009479, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.002029/0.002029, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.405/1.405, 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.436/2.436, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 66.09 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3193, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005473/0.3248, allocations: 3.719 MB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.3251, allocations: 151.5 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.3251, allocations: 4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3252, allocations: 7.938 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.3253, allocations: 11.91 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.3257, allocations: 83.75 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.102e-05/0.3258, allocations: 35.84 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.3258, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.3259, allocations: 19.86 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.326, allocations: 15.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.326, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005469/0.3265, allocations: 191.4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.3266, allocations: 7.984 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.3266, allocations: 11.92 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3268, allocations: 43.89 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3268, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3268, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3268, allocations: 0 / 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.0004445/0.3273, allocations: 335.5 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3273, allocations: 8.031 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.3274, allocations: 12.84 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3275, allocations: 164.3 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.3276, allocations: 26.27 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3276, allocations: 4.375 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3277, allocations: 49.61 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3277, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3278, allocations: 4 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.3278, allocations: 7.938 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.3278, allocations: 15.98 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.3283, allocations: 334 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.3283, allocations: 14.58 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.3284, allocations: 4.859 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/0.3285, allocations: 89.17 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3285, allocations: 34.5 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3285, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.3287, allocations: 41.69 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.3287, allocations: 51.41 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3288, allocations: 93.86 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3289, allocations: 29.69 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.3289, allocations: 96.17 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.3289, allocations: 3.906 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.329, allocations: 13.72 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3291, allocations: 318.8 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.3291, allocations: 7.984 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.3291, allocations: 21.83 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.3292, allocations: 21.72 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3292, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.139e-05/0.3293, allocations: 53.62 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3293, allocations: 4 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3293, allocations: 3.938 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3293, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/0.3294, allocations: 11.98 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3294, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.3294, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3294, allocations: 8 kB / 1.094 GB, free: 11.07 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 9.368e-05/0.3295, allocations: 113.8 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3295, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.3297, allocations: 128.9 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/0.3297, allocations: 176.3 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000102/0.3298, allocations: 180.3 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/0.3299, allocations: 184.2 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3302, allocations: 413.1 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/0.3302, allocations: 104.9 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.3303, allocations: 101 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.958e-05/0.3303, allocations: 184.2 kB / 1.095 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.3304, allocations: 188.3 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.705e-05/0.3305, allocations: 176.3 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.936e-05/0.3306, allocations: 184.2 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3307, allocations: 311.7 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.3308, allocations: 182.1 kB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.3309, allocations: 184.2 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.331, allocations: 112.9 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.3311, allocations: 176.3 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3311, allocations: 108.9 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.3312, allocations: 87.27 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.3312, allocations: 0 / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002677/0.3315, allocations: 20 kB / 1.097 GB, free: 7.609 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.0002903/0.3318, allocations: 198.4 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.382e-05/0.3319, allocations: 15.98 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3319, allocations: 0 / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.3319, allocations: 0 / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.3323, allocations: 463.8 kB / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.3326, allocations: 187.2 kB / 1.098 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3329, allocations: 0.6729 MB / 1.099 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.333, allocations: 12 kB / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.333, allocations: 7.438 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of SimCode: time 3.136e-06/0.333, allocations: 0 / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of Templates: time 0.002962/0.336, allocations: 0.6589 MB / 1.099 GB, free: 5.359 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