Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.277/2.277, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001467/0.001467, allocations: 172 kB / 0.4902 GB, free: 2.246 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.533/1.533, allocations: 223.2 MB / 0.7992 GB, free: 15.67 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.0009586/0.0009586, allocations: 100.3 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.000438, allocations: 13.02 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3498, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.5511, allocations: 149.8 MB / 1.376 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.5513, allocations: 71.95 kB / 1.376 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.00675/0.5581, allocations: 2.02 MB / 1.378 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5581, allocations: 4 kB / 1.378 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.5581, allocations: 4 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009647/0.5591, allocations: 0.5094 MB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5592, allocations: 8.562 kB / 1.378 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.5592, allocations: 19.77 kB / 1.378 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.5595, allocations: 218.6 kB / 1.378 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5596, allocations: 15.94 kB / 1.378 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.5596, allocations: 4 kB / 1.378 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.5602, allocations: 213.6 kB / 1.379 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5602, allocations: 0 / 1.379 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.5603, allocations: 8 kB / 1.379 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5603, allocations: 7.969 kB / 1.379 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000804/0.5611, allocations: 279.8 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.5622, allocations: 0.5316 MB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.5627, allocations: 178.4 kB / 1.38 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.5627, allocations: 0 / 1.38 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5628, allocations: 34.75 kB / 1.38 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.5628, allocations: 7.938 kB / 1.38 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.001249/0.564, allocations: 441.3 kB / 1.38 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.5641, allocations: 55.34 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.5643, allocations: 165.2 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.5643, allocations: 29.7 kB / 1.38 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.5644, allocations: 131.8 kB / 1.38 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.5644, allocations: 27.56 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-06/0.5644, allocations: 0 / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5646, allocations: 330.8 kB / 1.381 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.565, allocations: 127.9 kB / 1.381 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.5653, allocations: 136.2 kB / 1.381 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.5657, allocations: 131.9 kB / 1.381 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5657, allocations: 0 / 1.381 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007837/0.5665, allocations: 305.3 kB / 1.381 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5665, allocations: 12 kB / 1.381 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5665, allocations: 0 / 1.381 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5666, allocations: 3.984 kB / 1.381 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.5669, allocations: 51.95 kB / 1.381 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5669, allocations: 11.94 kB / 1.381 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.5671, allocations: 51.86 kB / 1.381 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5671, allocations: 3.938 kB / 1.381 GB, free: 9.125 MB / 0.8855 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 (9): * Single equations (assignments): 9 * 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 0.0001287/0.5673, allocations: 134.9 kB / 1.382 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.5673, allocations: 11.84 kB / 1.382 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.5674, allocations: 21.39 kB / 1.382 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5674, allocations: 4 kB / 1.382 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5674, allocations: 0 / 1.382 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5674, allocations: 3.953 kB / 1.382 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.5677, allocations: 261.4 kB / 1.382 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.5677, allocations: 0 / 1.382 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.568, allocations: 55.95 kB / 1.382 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.568, allocations: 0 / 1.382 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.568, allocations: 0 / 1.382 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.568, allocations: 4 kB / 1.382 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.568, allocations: 3.984 kB / 1.382 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008598/0.5689, allocations: 419.2 kB / 1.382 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.569, allocations: 85.02 kB / 1.382 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.569, allocations: 4 kB / 1.382 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.5693, allocations: 43.95 kB / 1.382 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.5693, allocations: 15.97 kB / 1.382 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.5694, allocations: 4 kB / 1.382 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001277/0.5695, allocations: 140.2 kB / 1.383 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5695, allocations: 0 / 1.383 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002507/0.5698, allocations: 27.91 kB / 1.383 GB, free: 7.82 MB / 0.8855 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 (9): * Single equations (assignments): 9 * 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.000189/0.5699, allocations: 108 kB / 1.383 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008637/0.5708, allocations: 279.7 kB / 1.383 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5708, allocations: 0 / 1.383 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.5713, allocations: 135.9 kB / 1.383 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.5715, allocations: 29.42 kB / 1.383 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.5722, allocations: 342.5 kB / 1.384 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.5726, allocations: 0.7278 MB / 1.384 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.5727, allocations: 24.41 kB / 1.384 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.5728, allocations: 11.44 kB / 1.384 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.5728, allocations: 0 / 1.384 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of Templates: time 0.004219/0.577, allocations: 1.496 MB / 1.386 GB, free: 4.641 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches