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.297/2.297, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001955/0.001955, allocations: 184.6 kB / 487.4 MB, free: 5.062 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.624/1.624, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009645/0.0009645, allocations: 106.1 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.907e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2914, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9907/1.282, allocations: 149.2 MB / 1.352 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/1.283, allocations: 91.84 kB / 1.352 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003064/1.286, allocations: 0.8845 MB / 1.353 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.286, allocations: 0 / 1.353 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.286, allocations: 0 / 1.353 GB, free: 34.04 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002606/1.286, allocations: 323.4 kB / 1.353 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.286, allocations: 11.69 kB / 1.353 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/1.286, allocations: 12.31 kB / 1.353 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/1.286, allocations: 168.5 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.286, allocations: 3.844 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/1.286, allocations: 0 / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.107e-05/1.286, allocations: 4.641 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.399e-05/1.286, allocations: 35.64 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.286, allocations: 0 / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.286, allocations: 3.906 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.286, allocations: 0.75 kB / 1.353 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/1.287, allocations: 233.3 kB / 1.353 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.934e-05/1.287, allocations: 30.16 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/1.287, allocations: 12.55 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/1.287, allocations: 0 / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.287, allocations: 38.42 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.287, allocations: 0 / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001401/1.287, allocations: 42.81 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/1.287, allocations: 52.11 kB / 1.354 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/1.287, allocations: 92.34 kB / 1.354 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/1.287, allocations: 25.7 kB / 1.354 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/1.287, allocations: 87.92 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/1.287, allocations: 4.656 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.287, allocations: 3.938 kB / 1.354 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.287, allocations: 323.9 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/1.287, allocations: 5.719 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/1.287, allocations: 7.609 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.643e-05/1.287, allocations: 0.75 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/1.287, allocations: 0 / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.818e-05/1.287, allocations: 46.39 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.287, allocations: 3.875 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.287, allocations: 0.75 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/1.287, allocations: 4.094 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/1.288, allocations: 9.172 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/1.288, allocations: 0.7031 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/1.288, allocations: 5.266 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/1.288, allocations: 0 / 1.354 GB, free: 32.47 MB / 0.8386 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 6.008e-05/1.288, allocations: 105.5 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/1.288, allocations: 0 / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/1.288, allocations: 16.7 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.288, allocations: 4 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.288, allocations: 5.141 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/1.288, allocations: 0 / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/1.288, allocations: 139 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.288, allocations: 3.062 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/1.288, allocations: 8.969 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.288, allocations: 0.6562 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/1.288, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.288, allocations: 0.6562 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.288, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.909e-05/1.288, allocations: 139.6 kB / 1.355 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/1.288, allocations: 86.19 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/1.288, allocations: 3.938 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/1.288, allocations: 5.406 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/1.288, allocations: 4.641 kB / 1.355 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/1.288, allocations: 4.594 kB / 1.355 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.98e-05/1.288, allocations: 83.5 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.288, allocations: 4.031 kB / 1.355 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000191/1.288, allocations: 3.875 kB / 1.355 GB, free: 31.86 MB / 0.8386 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.0001088/1.289, allocations: 100.7 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.154e-05/1.289, allocations: 11.23 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.289, allocations: 0 / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/1.289, allocations: 4.484 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/1.289, allocations: 12.58 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/1.289, allocations: 62.64 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/1.289, allocations: 0.6809 MB / 1.356 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.483e-05/1.289, allocations: 0.6094 kB / 1.356 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/1.289, allocations: 7.438 kB / 1.356 GB, free: 31 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.289, allocations: 0 / 1.356 GB, free: 31 MB / 0.8386 GB Notification: Performance of Templates: time 0.001849/1.291, allocations: 261.2 kB / 1.356 GB, free: 30.95 MB / 0.8386 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