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.425/1.425, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001148/0.001148, allocations: 184.8 kB / 321.3 MB, free: 14.66 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.552/1.552, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0009293/0.0009294, allocations: 86.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.655e-05/4.671e-05, allocations: 0 / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2111, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7081/0.9192, allocations: 132.3 MB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.9195, allocations: 91.75 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002065/0.9215, allocations: 0.8382 MB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9216, allocations: 0 / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9216, allocations: 0 / 1.022 GB, free: 1.555 MB / 0.6355 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.0003064/0.9219, allocations: 329.5 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.9219, allocations: 15.97 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.922, allocations: 0 / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.9221, allocations: 167.5 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.9221, allocations: 4 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.9221, allocations: 0 / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.371e-05/0.9222, allocations: 37.31 kB / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9223, allocations: 4.5 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.9223, allocations: 0 / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.9223, allocations: 4 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.9223, allocations: 11.92 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.9227, allocations: 263.9 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.9228, allocations: 26.39 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.9228, allocations: 16.92 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.9228, allocations: 0 / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.9229, allocations: 36.38 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.9229, allocations: 3.938 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.923, allocations: 47.23 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.9231, allocations: 51.41 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.9231, allocations: 96.56 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.9232, allocations: 29.73 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.9232, allocations: 88.12 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.9232, allocations: 7.719 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.9232, allocations: 0 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9234, allocations: 318.8 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.9234, allocations: 7.938 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.9234, allocations: 4 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.9234, allocations: 4 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.9234, allocations: 4.062 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.907e-05/0.9235, allocations: 41.44 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9235, allocations: 8 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.9235, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.9236, allocations: 3.938 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.9236, allocations: 4 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.9237, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.9237, allocations: 4 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.9237, allocations: 3.984 kB / 1.024 GB, free: 15.79 MB / 0.6511 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 () * 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 5.927e-05/0.9238, allocations: 115.1 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.9238, allocations: 7.906 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.9238, allocations: 7.609 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.9238, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9238, allocations: 256 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.9239, allocations: 3.938 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.924, allocations: 169 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.924, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.9241, allocations: 7.984 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9241, allocations: 4 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.9241, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9241, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9241, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.9242, allocations: 143.1 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.9243, allocations: 81.11 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.9243, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.9243, allocations: 4.031 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.9244, allocations: 7.984 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.9244, allocations: 3 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.9244, allocations: 79.28 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9244, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001993/0.9247, allocations: 11.31 kB / 1.024 GB, free: 15.08 MB / 0.6511 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 (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.0001028/0.9248, allocations: 95.25 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.204e-05/0.9248, allocations: 19.94 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9248, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.9249, allocations: 11.92 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.925, allocations: 3.953 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.9252, allocations: 71.83 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.9254, allocations: 0.677 MB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.9255, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.9255, allocations: 7.438 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of SimCode: time 3e-07/0.9255, allocations: 8.062 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.001879/0.9274, allocations: 273.9 kB / 1.025 GB, free: 13.89 MB / 0.6511 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