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.41/1.41, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 175.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008947/0.0008946, allocations: 90.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004965, allocations: 12.22 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2698, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9848/1.255, allocations: 420.7 MB / 1.311 GB, free: 12.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/1.255, allocations: 68.91 kB / 1.311 GB, free: 12.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05748/1.313, allocations: 25.31 MB / 1.336 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.313, allocations: 0 / 1.336 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.313, allocations: 4 kB / 1.336 GB, free: 7.027 MB / 0.8386 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.0008009/1.313, allocations: 0.4903 MB / 1.336 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.313, allocations: 8.031 kB / 1.336 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/1.314, allocations: 19.81 kB / 1.336 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/1.314, allocations: 213 kB / 1.336 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.314, allocations: 15.69 kB / 1.336 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/1.314, allocations: 18.88 kB / 1.336 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/1.314, allocations: 235 kB / 1.337 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.314, allocations: 3.984 kB / 1.337 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/1.314, allocations: 3.5 kB / 1.337 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/1.314, allocations: 15.69 kB / 1.337 GB, free: 6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/1.315, allocations: 427.9 kB / 1.337 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/1.316, allocations: 1.022 MB / 1.338 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/1.316, allocations: 167.7 kB / 1.338 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/1.318, allocations: 1.839 MB / 1.34 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/1.318, allocations: 42.23 kB / 1.34 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/1.318, allocations: 0 / 1.34 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003443/1.318, allocations: 149.6 kB / 1.34 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/1.318, allocations: 55.41 kB / 1.34 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/1.318, allocations: 157.5 kB / 1.34 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/1.318, allocations: 28.77 kB / 1.341 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/1.318, allocations: 137.3 kB / 1.341 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/1.318, allocations: 55.05 kB / 1.341 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/1.318, allocations: 3.062 kB / 1.341 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.319, allocations: 329.6 kB / 1.341 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/1.319, allocations: 31.3 kB / 1.341 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/1.319, allocations: 149 kB / 1.341 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.746e-05/1.319, allocations: 53 kB / 1.341 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.319, allocations: 3.938 kB / 1.341 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003055/1.319, allocations: 214.5 kB / 1.341 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.319, allocations: 8 kB / 1.341 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.319, allocations: 4 kB / 1.341 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.319, allocations: 4 kB / 1.341 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/1.32, allocations: 66.48 kB / 1.342 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.32, allocations: 7.938 kB / 1.342 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/1.32, allocations: 27.56 kB / 1.342 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/1.32, allocations: 16.27 kB / 1.342 GB, free: 0.8555 MB / 0.8386 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 () * Number of clocked 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 0.0001136/1.32, allocations: 139.6 kB / 1.342 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/1.32, allocations: 15.81 kB / 1.342 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/1.32, allocations: 155.8 kB / 1.342 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.32, allocations: 0 / 1.342 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.32, allocations: 3.953 kB / 1.342 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.32, allocations: 0 / 1.342 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/1.32, allocations: 215.5 kB / 1.342 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.32, allocations: 0 / 1.342 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.321, allocations: 31.98 kB / 1.342 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.321, allocations: 0 / 1.342 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.321, allocations: 7.125 kB / 1.342 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/1.321, allocations: 7.984 kB / 1.342 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.321, allocations: 0 / 1.342 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/1.321, allocations: 221.5 kB / 1.342 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.321, allocations: 107.3 kB / 1.342 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/1.321, allocations: 11.55 kB / 1.342 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/1.321, allocations: 11.94 kB / 1.342 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/1.321, allocations: 11.92 kB / 1.342 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.321, allocations: 11.94 kB / 1.342 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.291e-05/1.321, allocations: 119.1 kB / 1.343 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/1.321, allocations: 0 / 1.343 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004115/1.322, allocations: 85.86 kB / 1.343 GB, free: 15.74 MB / 0.8542 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 (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.0003881/1.322, allocations: 223.3 kB / 1.343 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002224/1.322, allocations: 118.6 kB / 1.343 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.322, allocations: 0.9375 kB / 1.343 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/1.322, allocations: 47.28 kB / 1.343 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/1.323, allocations: 47.09 kB / 1.343 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/1.323, allocations: 418.9 kB / 1.343 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/1.324, allocations: 0.7172 MB / 1.344 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001673/1.324, allocations: 49.69 kB / 1.344 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/1.324, allocations: 23.42 kB / 1.344 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of SimCode: time 3.8e-07/1.324, allocations: 0 / 1.344 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.006821/1.331, allocations: 3.532 MB / 1.348 GB, free: 10.62 MB / 0.8542 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