Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.483/2.483, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 191.2 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 101.9 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003855, allocations: 10.06 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.5387, allocations: 149.9 MB / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.539, allocations: 95.88 kB / 1.369 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002321/0.5413, allocations: 0.8744 MB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5413, allocations: 0 / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5414, allocations: 4 kB / 1.37 GB, free: 11.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003739/0.5417, allocations: 339.2 kB / 1.371 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5418, allocations: 11.97 kB / 1.371 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.5418, allocations: 0 / 1.371 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.542, allocations: 175 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.542, allocations: 0 / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.542, allocations: 0 / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5422, allocations: 53.67 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5422, allocations: 0 / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.5422, allocations: 0 / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5422, allocations: 0 / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.5423, allocations: 27.98 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.5428, allocations: 256.8 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/0.5429, allocations: 38.5 kB / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.5429, allocations: 0 / 1.371 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5429, allocations: 34.56 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.5429, allocations: 0 / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002422/0.5432, allocations: 65.73 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5432, allocations: 55.41 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.5433, allocations: 100.9 kB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.5433, allocations: 29.83 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.5434, allocations: 84.14 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.5434, allocations: 11.83 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.5434, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5436, allocations: 314.8 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.5436, allocations: 8 kB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.5437, allocations: 15.98 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.5437, allocations: 12.06 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5437, allocations: 3.938 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001137/0.5438, allocations: 57.67 kB / 1.372 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5439, allocations: 4 kB / 1.372 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5439, allocations: 0 / 1.372 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5439, allocations: 0 / 1.372 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.544, allocations: 8.031 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.544, allocations: 4 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.544, allocations: 7.922 kB / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.544, allocations: 3.953 kB / 1.372 GB, free: 9.285 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 8.01e-05/0.5441, allocations: 113.8 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.5442, allocations: 3.906 kB / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.5442, allocations: 7.531 kB / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5442, allocations: 0 / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5442, allocations: 0 / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5442, allocations: 4 kB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.5444, allocations: 161.6 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5444, allocations: 3.938 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.5445, allocations: 8 kB / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5445, allocations: 0 / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.5445, allocations: 4 kB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5445, allocations: 0 / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5445, allocations: 0 / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.5447, allocations: 155.5 kB / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.5447, allocations: 77.11 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.5447, allocations: 7.938 kB / 1.372 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.5448, allocations: 256 / 1.372 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.5448, allocations: 3.984 kB / 1.372 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.5448, allocations: 8 kB / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.5449, allocations: 87.31 kB / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5449, allocations: 0 / 1.373 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001912/0.5451, allocations: 4 kB / 1.373 GB, free: 8.547 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001124/0.5452, allocations: 99.03 kB / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.5453, allocations: 23.98 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5453, allocations: 0 / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/0.5454, allocations: 24.05 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5455, allocations: 3.953 kB / 1.373 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.5459, allocations: 132.8 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.5461, allocations: 0.6809 MB / 1.373 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.5462, allocations: 3.906 kB / 1.373 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.5462, allocations: 15.5 kB / 1.373 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.5462, allocations: 0 / 1.373 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of Templates: time 0.002025/0.5482, allocations: 265.1 kB / 1.374 GB, free: 7.25 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches