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.001058/0.001058, allocations: 112.6 kB / 16.37 MB, free: 6 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.001025/0.001025, allocations: 196 kB / 17.31 MB, free: 5.613 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.467/2.467, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 60.62 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2933, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005199/0.2985, allocations: 3.729 MB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.2988, allocations: 159.5 kB / 1.031 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.2988, allocations: 4 kB / 1.031 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.836e-05/0.2989, allocations: 3.938 kB / 1.031 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.299, allocations: 11.92 kB / 1.031 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.2993, allocations: 87.61 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.347e-05/0.2994, allocations: 39.78 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.2995, allocations: 0 / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.2995, allocations: 12 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.2996, allocations: 19.97 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2996, allocations: 7.938 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.3001, allocations: 179.4 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.3002, allocations: 15.91 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3002, allocations: 11.94 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3003, allocations: 43.83 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3003, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3004, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.3004, allocations: 0 / 1.031 GB, free: 13.76 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.0003447/0.3007, allocations: 335.6 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3008, allocations: 8.031 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.3008, allocations: 8.828 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3009, allocations: 164.4 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.301, allocations: 26.27 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.301, allocations: 384 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3011, allocations: 53.61 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3011, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3012, allocations: 7.938 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.3012, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.3012, allocations: 11.98 kB / 1.032 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3016, allocations: 338 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.544e-05/0.3017, allocations: 22.58 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.3017, allocations: 8.859 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.434e-05/0.3018, allocations: 89.16 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3018, allocations: 38.5 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3018, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.302, allocations: 29.7 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.302, allocations: 51.41 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.3021, allocations: 105.8 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3021, allocations: 25.7 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.3022, allocations: 88.17 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.3022, allocations: 3.906 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.3022, allocations: 21.7 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.3023, allocations: 322.7 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.3023, allocations: 4 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.3024, allocations: 21.66 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.746e-05/0.3024, allocations: 29.7 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3024, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.661e-05/0.3025, allocations: 45.62 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3025, allocations: 8 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3025, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3025, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.3026, allocations: 4 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3026, allocations: 0 / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.3026, allocations: 8 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3026, allocations: 4 kB / 1.033 GB, free: 11.64 MB / 0.8106 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 6.891e-05/0.3027, allocations: 121.7 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.3027, allocations: 3.984 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.3029, allocations: 116.9 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/0.3029, allocations: 180.3 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-05/0.303, allocations: 180.2 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.509e-05/0.303, allocations: 184.2 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.3033, allocations: 409.2 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/0.3033, allocations: 104.9 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.3033, allocations: 105 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.526e-05/0.3034, allocations: 180.2 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.3035, allocations: 180.3 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.485e-05/0.3035, allocations: 176.3 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.966e-05/0.3036, allocations: 188.2 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.3037, allocations: 311.6 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.3038, allocations: 182.1 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.3039, allocations: 188.2 kB / 1.035 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.304, allocations: 108.9 kB / 1.036 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.3041, allocations: 176.5 kB / 1.036 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.3042, allocations: 112.9 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.3042, allocations: 87.28 kB / 1.036 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3042, allocations: 0 / 1.036 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002483/0.3045, allocations: 23.94 kB / 1.036 GB, free: 8.168 MB / 0.8106 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.000241/0.3047, allocations: 206.4 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.322e-05/0.3048, allocations: 4 kB / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3048, allocations: 0 / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3048, allocations: 0 / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3052, allocations: 474.9 kB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.3054, allocations: 169.9 kB / 1.037 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3057, allocations: 0.6768 MB / 1.037 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.3057, allocations: 11.98 kB / 1.037 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.3057, allocations: 7.438 kB / 1.037 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3057, allocations: 0 / 1.037 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of Templates: time 0.00275/0.3085, allocations: 0.637 MB / 1.038 GB, free: 5.953 MB / 0.8106 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 -s gbode -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