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.322/2.322, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001744/0.001744, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.531/1.531, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0009046/0.0009049, allocations: 91.58 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.609e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3428, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.495, allocations: 149.8 MB / 1.365 GB, free: 4.297 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.495, allocations: 72.8 kB / 1.365 GB, free: 4.258 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006046/1.501, allocations: 2.026 MB / 1.367 GB, free: 2.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.324e-06/1.501, allocations: 192 / 1.367 GB, free: 2.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.612e-05/1.501, allocations: 4 kB / 1.367 GB, free: 2.426 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000767/1.502, allocations: 0.4936 MB / 1.368 GB, free: 1.898 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.502, allocations: 8.031 kB / 1.368 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/1.502, allocations: 19.77 kB / 1.368 GB, free: 1.871 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/1.502, allocations: 219.3 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/1.502, allocations: 3.75 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/1.502, allocations: 10.94 kB / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/1.502, allocations: 124.6 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.502, allocations: 3.938 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/1.502, allocations: 7.188 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.502, allocations: 4 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/1.503, allocations: 108.6 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/1.504, allocations: 0.541 MB / 1.369 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/1.504, allocations: 91.42 kB / 1.369 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/1.504, allocations: 63.45 kB / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/1.504, allocations: 0 / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.504, allocations: 33.88 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/1.504, allocations: 3.938 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0003266/1.504, allocations: 146.8 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.505, allocations: 51.41 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/1.505, allocations: 169.5 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/1.505, allocations: 29.33 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/1.505, allocations: 124.7 kB / 1.369 GB, free: 268 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/1.505, allocations: 31.23 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/1.505, allocations: 0 / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.505, allocations: 326.1 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/1.505, allocations: 45.3 kB / 1.37 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/1.505, allocations: 45.17 kB / 1.37 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/1.505, allocations: 46.22 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.505, allocations: 0 / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002317/1.506, allocations: 146.3 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.506, allocations: 4 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.506, allocations: 0 / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.506, allocations: 0 / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/1.506, allocations: 63.89 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.506, allocations: 0 / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/1.506, allocations: 55.8 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/1.506, allocations: 7.375 kB / 1.37 GB, free: 15.58 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 (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 8.22e-05/1.506, allocations: 105.8 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/1.506, allocations: 8.281 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/1.506, allocations: 30.77 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.506, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.506, allocations: 3.953 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.506, allocations: 3.938 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/1.507, allocations: 252.5 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.507, allocations: 3.938 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/1.507, allocations: 55.94 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.507, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/1.507, allocations: 11.5 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/1.507, allocations: 0 / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.507, allocations: 0.875 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/1.507, allocations: 242.8 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/1.507, allocations: 89 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/1.507, allocations: 3.25 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/1.508, allocations: 51.94 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/1.508, allocations: 11.48 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/1.508, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.592e-05/1.508, allocations: 136.8 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.508, allocations: 0 / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002326/1.508, allocations: 35.8 kB / 1.371 GB, free: 14.56 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 (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.0001784/1.508, allocations: 110.4 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002354/1.509, allocations: 103 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.509, allocations: 3.938 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/1.509, allocations: 57.23 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/1.509, allocations: 27.64 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/1.509, allocations: 212.6 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/1.51, allocations: 0.7352 MB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.819e-05/1.51, allocations: 28.41 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/1.51, allocations: 11.44 kB / 1.372 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.51, allocations: 0 / 1.372 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of Templates: time 0.004171/1.514, allocations: 1.491 MB / 1.374 GB, free: 11.85 MB / 0.8386 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