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.0009016/0.0009012, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.325/1.325, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 12.31 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3155, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005085/0.3206, allocations: 3.418 MB / 1.063 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002226/0.3209, allocations: 159.5 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.3209, allocations: 0 / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.321, allocations: 3.938 kB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.3211, allocations: 15.97 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.3215, allocations: 79.75 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3216, allocations: 55.83 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.3216, allocations: 0 / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.3217, allocations: 19.97 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.3218, allocations: 7.938 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3218, allocations: 4 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.3224, allocations: 199.5 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.3224, allocations: 4 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.3225, allocations: 37.62 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.3226, allocations: 36.19 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3226, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3226, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3226, allocations: 3.938 kB / 1.063 GB, free: 0.957 MB / 0.8106 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.000369/0.323, allocations: 327.6 kB / 1.064 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.323, allocations: 8.031 kB / 1.064 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.3231, allocations: 8.844 kB / 1.064 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3232, allocations: 160.4 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.3233, allocations: 30.25 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.3233, allocations: 12.31 kB / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.3235, allocations: 41.62 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.3235, allocations: 0 / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3235, allocations: 0 / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.3235, allocations: 8 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.3236, allocations: 15.98 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.3241, allocations: 342 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.3242, allocations: 18.52 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.3242, allocations: 4.859 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-05/0.3243, allocations: 85.17 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.3243, allocations: 34.56 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 2.605e-06/0.3243, allocations: 3.984 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.3245, allocations: 41.69 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3245, allocations: 51.41 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.3246, allocations: 109.7 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3246, allocations: 25.7 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.3247, allocations: 88.05 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.3247, allocations: 4.031 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.3247, allocations: 13.72 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3248, allocations: 318.8 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.3249, allocations: 7.984 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.3249, allocations: 13.72 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.3249, allocations: 21.72 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3249, allocations: 0 / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.97e-05/0.325, allocations: 53.62 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3251, allocations: 5.719 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3251, allocations: 0 / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3251, allocations: 4 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.3251, allocations: 4 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3251, allocations: 3.984 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.3252, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3252, allocations: 7.984 kB / 1.065 GB, free: 14.85 MB / 0.8262 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 7.921e-05/0.3253, allocations: 113.8 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.3253, allocations: 7.938 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.3254, allocations: 120 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.935e-05/0.3255, allocations: 180.3 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.233e-05/0.3255, allocations: 184.1 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-05/0.3256, allocations: 176.3 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3258, allocations: 417.1 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.845e-05/0.3259, allocations: 101 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.3259, allocations: 101 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-05/0.326, allocations: 188.2 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.3261, allocations: 176.3 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.226e-05/0.3261, allocations: 188.2 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-05/0.3262, allocations: 180.3 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.3263, allocations: 315.6 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.3264, allocations: 182.1 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.946e-05/0.3265, allocations: 184.2 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.3267, allocations: 109 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.3267, allocations: 180.2 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.3268, allocations: 108.9 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.3268, allocations: 91.27 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3268, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002477/0.3271, allocations: 15.94 kB / 1.068 GB, free: 11.39 MB / 0.8262 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.0002295/0.3273, allocations: 210.4 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.712e-05/0.3274, allocations: 11.94 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3274, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.3274, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.3278, allocations: 0.5226 MB / 1.069 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.3281, allocations: 213.6 kB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.3284, allocations: 0.677 MB / 1.07 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.3284, allocations: 7.438 kB / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3284, allocations: 0 / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of Templates: time 0.002241/0.3307, allocations: 0.7469 MB / 1.071 GB, free: 8.938 MB / 0.8262 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