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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001008/0.001008, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009618/0.009618, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 462.6 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.000412, allocations: 15.47 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4004, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005865/0.4063, allocations: 3.433 MB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.4066, allocations: 159.5 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.4066, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.4067, allocations: 0 / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-05/0.4068, allocations: 11.92 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.4072, allocations: 87.69 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.4073, allocations: 55.88 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.4073, allocations: 0 / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.4074, allocations: 19.92 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.4075, allocations: 11.92 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.4075, allocations: 4 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.4081, allocations: 191.5 kB / 1.063 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.4081, allocations: 11.97 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.4082, allocations: 33.64 kB / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.4083, allocations: 52.11 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4083, allocations: 0 / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4083, allocations: 0 / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4083, allocations: 0 / 1.063 GB, free: 1.406 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.0004202/0.4088, allocations: 327.6 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4088, allocations: 8.031 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.4089, allocations: 8.844 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.409, allocations: 164.4 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.4091, allocations: 30.2 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4091, allocations: 4.359 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.4092, allocations: 49.62 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4092, allocations: 3.938 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4092, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.4093, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.4093, allocations: 11.98 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.4098, allocations: 342 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/0.4099, allocations: 22.58 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.4099, allocations: 4.859 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.4101, allocations: 81.17 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4101, allocations: 38.5 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/0.4101, allocations: 4 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001721/0.4103, allocations: 33.69 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4104, allocations: 51.41 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4105, allocations: 105.8 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.4105, allocations: 25.7 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.4106, allocations: 88.05 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.4106, allocations: 7.844 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.4106, allocations: 13.72 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002849/0.4109, allocations: 318.9 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.411, allocations: 4 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.411, allocations: 25.64 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.411, allocations: 13.72 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.411, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.142e-05/0.4111, allocations: 53.62 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4112, allocations: 8.062 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4112, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4112, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.4112, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4113, allocations: 4 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.4113, allocations: 4 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.4113, allocations: 7.984 kB / 1.064 GB, free: 15.3 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 0.0001168/0.4114, allocations: 115.3 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.4115, allocations: 288 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.4116, allocations: 120.9 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.974e-05/0.4117, allocations: 192.2 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.162e-05/0.4118, allocations: 180.2 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.038e-05/0.4119, allocations: 180.3 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.4122, allocations: 409.2 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/0.4122, allocations: 108.9 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.4123, allocations: 101 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.693e-05/0.4124, allocations: 180.2 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-05/0.4125, allocations: 180.2 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.97e-05/0.4126, allocations: 180.3 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.37e-05/0.4127, allocations: 184.2 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.4128, allocations: 315.6 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.4129, allocations: 182.1 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.413, allocations: 184.3 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.4132, allocations: 116.9 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.4133, allocations: 176.5 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.4133, allocations: 104.9 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.4134, allocations: 87.27 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4134, allocations: 4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002508/0.4137, allocations: 15.94 kB / 1.068 GB, free: 11.84 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.000328/0.414, allocations: 202.4 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.4141, allocations: 11.98 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4141, allocations: 0 / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.4141, allocations: 4.031 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.4146, allocations: 0.5302 MB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.4149, allocations: 191.8 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.4153, allocations: 0.677 MB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.4154, allocations: 7.75 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.4154, allocations: 11.44 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.4154, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of Templates: time 0.003079/0.4185, allocations: 0.6113 MB / 1.07 GB, free: 9.543 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches