Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0117/0.0117, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.002392/0.002392, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.676/1.676, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.113/3.113, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4368, allocations: 157.4 MB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002781/0.4396, allocations: 0.8493 MB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.4412, allocations: 0.8974 MB / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.4413, allocations: 0 / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.4415, allocations: 7.875 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.4416, allocations: 27.78 kB / 1.209 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.4419, allocations: 47.94 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.4421, allocations: 131.7 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.4423, allocations: 49.09 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.4425, allocations: 59.81 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.4426, allocations: 75.73 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.4427, allocations: 12 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.956e-05/0.4427, allocations: 12 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.4428, allocations: 31.89 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.4429, allocations: 59.66 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.4431, allocations: 147.4 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4431, allocations: 0 / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4431, allocations: 0 / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.4431, allocations: 0 / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009853/0.4441, allocations: 457.1 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4442, allocations: 15.97 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.4443, allocations: 12.75 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.4445, allocations: 210.5 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4446, allocations: 12.12 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.4446, allocations: 4 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.445, allocations: 153.5 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4451, allocations: 4 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.4451, allocations: 0 / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4451, allocations: 7.938 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.4457, allocations: 159.8 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007321/0.4464, allocations: 408.5 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.4473, allocations: 178.5 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.4476, allocations: 80.83 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.4477, allocations: 3.984 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.4477, allocations: 38.56 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.4477, allocations: 0 / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0009999/0.4487, allocations: 277.2 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.4488, allocations: 51.41 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.4489, allocations: 156.8 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.449, allocations: 29.7 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.449, allocations: 108 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.4491, allocations: 27.64 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.4492, allocations: 29.7 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4493, allocations: 326.8 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.4496, allocations: 71.92 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.4499, allocations: 80.3 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.4504, allocations: 156.8 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4505, allocations: 0 / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006208/0.4511, allocations: 209.2 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4511, allocations: 4 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4511, allocations: 3.984 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4511, allocations: 4 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.4514, allocations: 35.95 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.4514, allocations: 4 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.4516, allocations: 23.84 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4516, allocations: 8 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001329/0.4518, allocations: 121.8 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.4518, allocations: 11.84 kB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.4519, allocations: 20.66 kB / 1.213 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4519, allocations: 4 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4519, allocations: 0 / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4519, allocations: 0 / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4522, allocations: 241.5 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4522, allocations: 0 / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.4524, allocations: 39.89 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4524, allocations: 0 / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.4525, allocations: 4 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4525, allocations: 0 / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4525, allocations: 4 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.4532, allocations: 307.3 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.4532, allocations: 84.95 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.4533, allocations: 7.984 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.4535, allocations: 23.97 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.4536, allocations: 39.89 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4536, allocations: 0 / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.573e-05/0.4537, allocations: 115.2 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4537, allocations: 0 / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002569/0.454, allocations: 27.84 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001972/0.4542, allocations: 105.2 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000652/0.4548, allocations: 171.8 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4549, allocations: 0 / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.4552, allocations: 103.8 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.4555, allocations: 15.94 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.4562, allocations: 234.1 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.4566, allocations: 0.7046 MB / 1.216 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.4567, allocations: 24.42 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.4568, allocations: 23.42 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.4568, allocations: 0 / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of Templates: time 0.006364/0.4632, allocations: 2.471 MB / 1.218 GB, free: 14.64 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches