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.001678/0.001678, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001335/0.001335, allocations: 183 kB / 17.34 MB, free: 5.766 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.533/2.533, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7551/0.7565, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002206/0.7588, allocations: 0.8493 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.76, allocations: 0.9052 MB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.7602, allocations: 0 / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.7603, allocations: 11.86 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.7604, allocations: 19.8 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.7607, allocations: 55.92 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.7609, allocations: 131.7 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.761, allocations: 45.08 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.7612, allocations: 55.83 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.7613, allocations: 79.72 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.7614, allocations: 12 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.814e-05/0.7614, allocations: 16 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.7615, allocations: 31.91 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.7616, allocations: 59.64 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.7618, allocations: 139.5 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7618, allocations: 4 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7618, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.7618, allocations: 0 / 1.211 GB, free: 11.19 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008899/0.7627, allocations: 448.6 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.7627, allocations: 12.03 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.7628, allocations: 12.75 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.763, allocations: 212.5 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.7631, allocations: 12.12 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.7631, allocations: 8 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.7635, allocations: 147.1 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.7635, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.7636, allocations: 8 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7636, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.7641, allocations: 159.8 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.7648, allocations: 412.5 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.7657, allocations: 174.4 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.766, allocations: 88.84 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.766, allocations: 4 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.7661, allocations: 34.56 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.7661, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0009281/0.767, allocations: 281.2 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.767, allocations: 55.41 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.7672, allocations: 149.2 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.7672, allocations: 25.7 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.7673, allocations: 108 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.7673, allocations: 27.64 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.7674, allocations: 37.7 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7675, allocations: 318.8 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.7678, allocations: 75.86 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.7681, allocations: 75.92 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.7686, allocations: 156.7 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7686, allocations: 0.5625 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005816/0.7692, allocations: 217.2 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7692, allocations: 8 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7692, allocations: 0 / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7692, allocations: 0 / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.7695, allocations: 39.94 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.7695, allocations: 3.984 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.7697, allocations: 19.97 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.7697, allocations: 8 kB / 1.214 GB, free: 7.703 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: 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.0001213/0.7698, allocations: 125.8 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.7699, allocations: 15.84 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.7699, allocations: 16.72 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7699, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7699, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.77, allocations: 7.984 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.7702, allocations: 241.3 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.7702, allocations: 4 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.7705, allocations: 39.89 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7705, allocations: 4 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.7705, allocations: 3.984 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.7705, allocations: 0 / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7705, allocations: 0 / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.7712, allocations: 303.2 kB / 1.215 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.7712, allocations: 88.95 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.7712, allocations: 0 / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.7715, allocations: 23.97 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.7716, allocations: 27.97 kB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.7716, allocations: 8 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.985e-05/0.7717, allocations: 111.2 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7717, allocations: 3.938 kB / 1.215 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000256/0.7719, allocations: 23.91 kB / 1.215 GB, free: 6.574 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: 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.0001365/0.7721, allocations: 107.2 kB / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006089/0.7727, allocations: 171.9 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7727, allocations: 0 / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.773, allocations: 95.91 kB / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.7733, allocations: 11.94 kB / 1.215 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/0.7739, allocations: 271.7 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.7742, allocations: 0.7079 MB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.7743, allocations: 23.42 kB / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/0.7743, allocations: 0 / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of Templates: time 0.003725/0.778, allocations: 1.82 MB / 1.218 GB, free: 3.324 MB / 0.9356 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/jenkins1/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