Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002361/0.002361, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 98.52 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.885e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2574, allocations: 106.3 MB / 0.8918 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.749/2.006, allocations: 420.7 MB / 1.303 GB, free: 320 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/2.007, allocations: 63.97 kB / 1.303 GB, free: 319.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05276/2.06, allocations: 25.26 MB / 1.327 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.152e-06/2.06, allocations: 0 / 1.327 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.766e-06/2.06, allocations: 8 kB / 1.327 GB, free: 294.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006843/2.06, allocations: 490.4 kB / 1.328 GB, free: 294 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/2.06, allocations: 8.031 kB / 1.328 GB, free: 294 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/2.061, allocations: 15.91 kB / 1.328 GB, free: 294 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/2.061, allocations: 214.8 kB / 1.328 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/2.061, allocations: 16.31 kB / 1.328 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/2.061, allocations: 20 kB / 1.328 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/2.061, allocations: 234.3 kB / 1.328 GB, free: 293.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/2.061, allocations: 0 / 1.328 GB, free: 293.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/2.061, allocations: 12 kB / 1.328 GB, free: 293.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/2.061, allocations: 4 kB / 1.328 GB, free: 293.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/2.062, allocations: 427.5 kB / 1.329 GB, free: 293 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/2.063, allocations: 1.031 MB / 1.33 GB, free: 291.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/2.063, allocations: 168.3 kB / 1.33 GB, free: 291.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/2.063, allocations: 53.34 kB / 1.33 GB, free: 291.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/2.064, allocations: 1.942 MB / 1.332 GB, free: 289.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/2.064, allocations: 38.55 kB / 1.332 GB, free: 289.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/2.064, allocations: 4 kB / 1.332 GB, free: 289.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002499/2.064, allocations: 118.1 kB / 1.332 GB, free: 289.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/2.064, allocations: 51.41 kB / 1.332 GB, free: 289.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/2.065, allocations: 152.1 kB / 1.332 GB, free: 288.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/2.065, allocations: 25.7 kB / 1.332 GB, free: 288.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/2.065, allocations: 143.8 kB / 1.332 GB, free: 288.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/2.065, allocations: 63.14 kB / 1.332 GB, free: 288.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/2.065, allocations: 4 kB / 1.332 GB, free: 288.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/2.065, allocations: 322.8 kB / 1.333 GB, free: 288.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/2.065, allocations: 32.5 kB / 1.333 GB, free: 288.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/2.065, allocations: 141.7 kB / 1.333 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/2.065, allocations: 63.3 kB / 1.333 GB, free: 288.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.065, allocations: 0 / 1.333 GB, free: 288.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003394/2.065, allocations: 205.1 kB / 1.333 GB, free: 287.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/2.065, allocations: 9.406 kB / 1.333 GB, free: 287.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/2.065, allocations: 4 kB / 1.333 GB, free: 287.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/2.065, allocations: 7.953 kB / 1.333 GB, free: 287.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/2.066, allocations: 59.91 kB / 1.333 GB, free: 287.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/2.066, allocations: 16.39 kB / 1.333 GB, free: 287.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/2.066, allocations: 31.69 kB / 1.333 GB, free: 287.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/2.066, allocations: 12 kB / 1.333 GB, free: 287.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.144e-05/2.066, allocations: 120.9 kB / 1.333 GB, free: 287.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/2.066, allocations: 15.89 kB / 1.333 GB, free: 287.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/2.066, allocations: 151 kB / 1.334 GB, free: 287.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/2.066, allocations: 0 / 1.334 GB, free: 287.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.066, allocations: 7.953 kB / 1.334 GB, free: 287.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/2.066, allocations: 3.984 kB / 1.334 GB, free: 287.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/2.066, allocations: 221.5 kB / 1.334 GB, free: 287.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/2.066, allocations: 0 / 1.334 GB, free: 287.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/2.067, allocations: 31.92 kB / 1.334 GB, free: 287.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/2.067, allocations: 0 / 1.334 GB, free: 287.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/2.067, allocations: 3.984 kB / 1.334 GB, free: 287.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/2.067, allocations: 3.938 kB / 1.334 GB, free: 287.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/2.067, allocations: 7.938 kB / 1.334 GB, free: 287.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/2.067, allocations: 222.3 kB / 1.334 GB, free: 286.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/2.067, allocations: 116.9 kB / 1.334 GB, free: 286.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/2.067, allocations: 0 / 1.334 GB, free: 286.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/2.067, allocations: 12 kB / 1.334 GB, free: 286.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/2.067, allocations: 7.984 kB / 1.334 GB, free: 286.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/2.067, allocations: 15.92 kB / 1.334 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.92e-05/2.067, allocations: 119.9 kB / 1.334 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.067, allocations: 4 kB / 1.334 GB, free: 286.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004188/2.068, allocations: 75.94 kB / 1.334 GB, free: 286.6 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003855/2.068, allocations: 213.2 kB / 1.335 GB, free: 286.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002072/2.068, allocations: 112.4 kB / 1.335 GB, free: 286.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/2.068, allocations: 4.312 kB / 1.335 GB, free: 286.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/2.068, allocations: 47.86 kB / 1.335 GB, free: 286.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/2.069, allocations: 43.95 kB / 1.335 GB, free: 286.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/2.069, allocations: 170.3 kB / 1.335 GB, free: 285.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/2.069, allocations: 0.7131 MB / 1.336 GB, free: 285.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001782/2.07, allocations: 49.8 kB / 1.336 GB, free: 285.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/2.07, allocations: 23.44 kB / 1.336 GB, free: 285.1 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/2.07, allocations: 0 / 1.336 GB, free: 285.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.007653/2.077, allocations: 3.657 MB / 1.339 GB, free: 281.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches