Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001164/0.001164, allocations: 173.2 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001101/0.001101, allocations: 94.41 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 9.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2792, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.4751, allocations: 132.4 MB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.4754, allocations: 95.92 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002379/0.4778, allocations: 0.8477 MB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.118e-06/0.4778, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4779, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 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.0004264/0.4783, allocations: 343.2 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.4784, allocations: 12.03 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.4784, allocations: 3.906 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4786, allocations: 167 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.4786, allocations: 0 / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.4786, allocations: 0 / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.4788, allocations: 45.67 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4788, allocations: 0 / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4788, allocations: 8 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4788, allocations: 0 / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.4789, allocations: 23.92 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.4794, allocations: 252.9 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/0.4795, allocations: 34.61 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.4796, allocations: 64 / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4796, allocations: 34.56 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.4796, allocations: 0 / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002834/0.4799, allocations: 73.7 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.48, allocations: 51.41 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.48, allocations: 101 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4801, allocations: 25.7 kB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.4801, allocations: 84.08 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.4802, allocations: 7.906 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.4802, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4803, allocations: 318.8 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.4804, allocations: 16.02 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.4804, allocations: 8 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.4805, allocations: 11.98 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4805, allocations: 0 / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.4806, allocations: 61.59 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4806, allocations: 12.03 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4806, allocations: 0 / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4806, allocations: 0 / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.4807, allocations: 8.234 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4807, allocations: 0 / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.4808, allocations: 8 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.4808, allocations: 3.938 kB / 1.032 GB, free: 8.504 MB / 0.6823 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.281e-05/0.4809, allocations: 117.8 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.4809, allocations: 4 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.4809, allocations: 3.531 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4809, allocations: 3.984 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.481, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.481, allocations: 4 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.4811, allocations: 161.6 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4812, allocations: 0 / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.4812, allocations: 7.984 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4812, allocations: 0 / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4812, allocations: 4 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4812, allocations: 8 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4812, allocations: 3.938 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.4814, allocations: 147.5 kB / 1.032 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.4815, allocations: 84.95 kB / 1.032 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.4815, allocations: 3.984 kB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.4816, allocations: 8.031 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.4816, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.4816, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.4817, allocations: 87.27 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4817, allocations: 4 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002264/0.4819, allocations: 0 / 1.033 GB, free: 7.77 MB / 0.6823 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.0001247/0.482, allocations: 101.6 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.4822, allocations: 31.92 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4822, allocations: 0 / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.4822, allocations: 12 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.4824, allocations: 21.3 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.4827, allocations: 132.7 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.483, allocations: 0.6809 MB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.533e-05/0.483, allocations: 0 / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.483, allocations: 7.438 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/0.483, allocations: 0 / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of Templates: time 0.002/0.485, allocations: 264.5 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches