Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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.001258/0.001258, allocations: 102.9 kB / 15.98 MB, free: 6.348 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.001355/0.001355, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.646/2.646, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 71.98 kB / 0.9087 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3096, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006181/0.3158, allocations: 3.763 MB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.3161, allocations: 171.5 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.3161, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.3162, allocations: 3.938 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.3163, allocations: 11.98 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.3166, allocations: 78.89 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.3167, allocations: 35.84 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.3168, allocations: 7.984 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.3168, allocations: 15.92 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.3169, allocations: 15.98 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.3169, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.3174, allocations: 179.5 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.3175, allocations: 8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.3175, allocations: 15.92 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.639e-05/0.3176, allocations: 32.19 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3176, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3176, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.3177, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 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.0003986/0.3181, allocations: 331.5 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3181, allocations: 8.625 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3181, allocations: 8.922 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3183, allocations: 164.4 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.3183, allocations: 26.27 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.3184, allocations: 4.375 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.3185, allocations: 49.56 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3185, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3185, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.3186, allocations: 8 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.3186, allocations: 15.98 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.3191, allocations: 342 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.3191, allocations: 18.52 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.3192, allocations: 4.859 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-05/0.3193, allocations: 93.14 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3193, allocations: 30.56 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 4.9e-06/0.3193, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.3195, allocations: 45.64 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.3195, allocations: 55.34 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.008e-05/0.3196, allocations: 101.8 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3196, allocations: 25.7 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3197, allocations: 92.08 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.3197, allocations: 3.906 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.3197, allocations: 17.7 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3199, allocations: 322.9 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.3199, allocations: 4 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.3199, allocations: 13.72 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.32, allocations: 21.7 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.32, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.491e-05/0.3201, allocations: 53.62 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3201, allocations: 8.062 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3201, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3201, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.3202, allocations: 8 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3202, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.3202, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3202, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 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.681e-05/0.3203, allocations: 116 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.3203, allocations: 3.906 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.3205, allocations: 128.9 kB / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-05/0.3206, allocations: 176.3 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-05/0.3206, allocations: 184.2 kB / 1.071 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.415e-05/0.3207, allocations: 180.2 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.321, allocations: 413.1 kB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.682e-05/0.3211, allocations: 105 kB / 1.071 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.3211, allocations: 101 kB / 1.071 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.923e-05/0.3212, allocations: 184.2 kB / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.572e-05/0.3213, allocations: 184.3 kB / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-05/0.3214, allocations: 180.2 kB / 1.072 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.467e-05/0.3215, allocations: 184.2 kB / 1.072 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.3216, allocations: 307.7 kB / 1.072 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.3217, allocations: 182.1 kB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.3218, allocations: 184.2 kB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.322, allocations: 112.9 kB / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.3221, allocations: 180.3 kB / 1.073 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.3222, allocations: 104.9 kB / 1.073 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.783e-05/0.3222, allocations: 87.27 kB / 1.073 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3222, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002839/0.3225, allocations: 19.94 kB / 1.073 GB, free: 5.238 MB / 0.8419 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.0002803/0.3228, allocations: 206.4 kB / 1.073 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.3229, allocations: 15.94 kB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3229, allocations: 3.938 kB / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.3229, allocations: 0 / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.3234, allocations: 459.7 kB / 1.074 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.3236, allocations: 203.7 kB / 1.074 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.324, allocations: 0.6768 MB / 1.075 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.324, allocations: 11.44 kB / 1.075 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.324, allocations: 0 / 1.075 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of Templates: time 0.002397/0.3264, allocations: 0.7579 MB / 1.076 GB, free: 2.855 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches