Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.336/2.336, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001119/0.001119, allocations: 182.3 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.8/1.8, allocations: 221.3 MB / 0.7915 GB, free: 5.473 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.0009481/0.0009482, allocations: 91.75 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.537e-05/4.541e-05, allocations: 8 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3691, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.484, allocations: 150.7 MB / 1.366 GB, free: 3.348 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.485, allocations: 89.92 kB / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002257/1.487, allocations: 0.8823 MB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.573e-06/1.487, allocations: 4 kB / 1.367 GB, free: 2.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.487, allocations: 4 kB / 1.367 GB, free: 2.496 MB / 0.823 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.0003235/1.487, allocations: 321.6 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/1.487, allocations: 8.031 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/1.488, allocations: 0.625 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.488, allocations: 174.9 kB / 1.367 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.488, allocations: 7.312 kB / 1.367 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/1.488, allocations: 0 / 1.367 GB, free: 1.922 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/1.488, allocations: 40.94 kB / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.488, allocations: 4 kB / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.488, allocations: 0 / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/1.488, allocations: 0 / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/1.488, allocations: 18.92 kB / 1.367 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/1.488, allocations: 253.8 kB / 1.368 GB, free: 1.57 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/1.488, allocations: 25.39 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/1.488, allocations: 15.8 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/1.488, allocations: 0 / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/1.488, allocations: 34.55 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/1.488, allocations: 0 / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001509/1.489, allocations: 44.95 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.489, allocations: 55.36 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/1.489, allocations: 107.1 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.489, allocations: 25.7 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/1.489, allocations: 83.39 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/1.489, allocations: 3.906 kB / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/1.489, allocations: 0 / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.489, allocations: 314.8 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/1.489, allocations: 3.125 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/1.489, allocations: 4 kB / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/1.489, allocations: 16.77 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.489, allocations: 0 / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.639e-05/1.489, allocations: 49.11 kB / 1.368 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.489, allocations: 4 kB / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.489, allocations: 0 / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.489, allocations: 0 / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/1.489, allocations: 7.984 kB / 1.368 GB, free: 0.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/1.489, allocations: 4 kB / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/1.489, allocations: 3.953 kB / 1.368 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/1.489, allocations: 32 / 1.368 GB, free: 0.7422 MB / 0.823 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.699e-05/1.489, allocations: 112.2 kB / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/1.489, allocations: 0 / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/1.489, allocations: 7.641 kB / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.489, allocations: 4 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.489, allocations: 3.984 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/1.489, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/1.49, allocations: 159.8 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.49, allocations: 0 / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/1.49, allocations: 7.938 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.49, allocations: 8 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/1.49, allocations: 3.984 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.49, allocations: 0 / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.49, allocations: 0.875 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/1.49, allocations: 141.6 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/1.49, allocations: 85 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/1.49, allocations: 0 / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/1.49, allocations: 11.97 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/1.49, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/1.49, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of sorting global known variables: time 4.344e-05/1.49, allocations: 94.7 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/1.49, allocations: 0 / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001939/1.49, allocations: 4 kB / 1.369 GB, free: 44 kB / 0.823 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.0001401/1.49, allocations: 95.3 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.548e-05/1.491, allocations: 19.25 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.491, allocations: 0 / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/1.491, allocations: 6.75 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/1.491, allocations: 8.578 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/1.491, allocations: 64.19 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/1.491, allocations: 0.6809 MB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.341e-05/1.491, allocations: 0 / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/1.491, allocations: 11.55 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.491, allocations: 4 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of Templates: time 0.001952/1.493, allocations: 275.9 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches