Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008701/0.008701, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 194 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 71.89 kB / 1.054 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.003522/1.03, allocations: 0.8844 MB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001756/1.032, allocations: 0.8858 MB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/1.032, allocations: 0 / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/1.032, allocations: 15.8 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/1.033, allocations: 27.75 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/1.033, allocations: 39.94 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/1.033, allocations: 143.6 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/1.034, allocations: 53.33 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/1.034, allocations: 59.83 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/1.034, allocations: 79.67 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/1.034, allocations: 16 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/1.034, allocations: 12 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/1.034, allocations: 43.89 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/1.034, allocations: 71.52 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/1.035, allocations: 175.2 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/1.035, allocations: 0 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.084e-06/1.035, allocations: 0 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.035, allocations: 0 / 1.21 GB, free: 11.1 MB / 0.9356 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.001217/1.036, allocations: 0.5005 MB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/1.036, allocations: 8.031 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/1.036, allocations: 20.75 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/1.036, allocations: 227.9 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/1.036, allocations: 384 / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/1.036, allocations: 16.31 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/1.037, allocations: 175.5 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.037, allocations: 4.188 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/1.037, allocations: 3.938 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.037, allocations: 4 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/1.038, allocations: 215.8 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.039, allocations: 0.5119 MB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/1.039, allocations: 150.5 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/1.04, allocations: 124.9 kB / 1.212 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/1.04, allocations: 4 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.04, allocations: 30.56 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/1.04, allocations: 0 / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.001308/1.041, allocations: 369 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/1.041, allocations: 51.41 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/1.041, allocations: 183.6 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/1.041, allocations: 29.7 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/1.041, allocations: 120 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/1.041, allocations: 27.55 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/1.041, allocations: 25.72 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.042, allocations: 322.8 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/1.042, allocations: 103.9 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/1.042, allocations: 103.9 kB / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007117/1.043, allocations: 216.6 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.043, allocations: 0 / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007881/1.044, allocations: 261.2 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.044, allocations: 8 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.044, allocations: 0 / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.044, allocations: 4.594 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/1.044, allocations: 47.94 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.044, allocations: 3.938 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/1.044, allocations: 31.95 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/1.044, allocations: 4 kB / 1.214 GB, free: 7.023 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.045, allocations: 125.8 kB / 1.214 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/1.045, allocations: 15.81 kB / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/1.045, allocations: 29.33 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.045, allocations: 4 kB / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.045, allocations: 3.938 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.045, allocations: 0 / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/1.045, allocations: 249.5 kB / 1.214 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.045, allocations: 0 / 1.214 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/1.045, allocations: 47.94 kB / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.045, allocations: 0 / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.045, allocations: 0 / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.045, allocations: 4 kB / 1.214 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.045, allocations: 11.94 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/1.046, allocations: 355.1 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/1.046, allocations: 92.86 kB / 1.215 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/1.046, allocations: 4 kB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/1.047, allocations: 35.94 kB / 1.215 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/1.047, allocations: 15.92 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/1.047, allocations: 0 / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001165/1.047, allocations: 148.1 kB / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.047, allocations: 0 / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002567/1.047, allocations: 28 kB / 1.215 GB, free: 5.781 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001839/1.047, allocations: 95.25 kB / 1.215 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000827/1.048, allocations: 227.7 kB / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.048, allocations: 0 / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/1.048, allocations: 115.8 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/1.049, allocations: 28.39 kB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/1.05, allocations: 307.5 kB / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/1.05, allocations: 0.7236 MB / 1.217 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.437e-05/1.05, allocations: 20.41 kB / 1.217 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/1.05, allocations: 23.38 kB / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/1.05, allocations: 0 / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of Templates: time 0.005572/1.056, allocations: 1.968 MB / 1.218 GB, free: 2.246 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches