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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001713/0.001713, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002839/0.002839, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.574/1.574, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.226/3.226, allocations: 472.6 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 62.98 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4516, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002579/0.4542, allocations: 0.8493 MB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.4554, allocations: 0.9013 MB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.4555, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.4556, allocations: 11.86 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.4557, allocations: 19.8 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.4559, allocations: 51.94 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.4561, allocations: 135.7 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.4563, allocations: 41.09 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.4564, allocations: 63.81 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.4565, allocations: 75.72 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.4566, allocations: 12 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.643e-05/0.4566, allocations: 19.94 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.4567, allocations: 31.91 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.4568, allocations: 51.72 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.457, allocations: 135.5 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.457, allocations: 3.984 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.457, allocations: 3.938 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.457, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8262 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.0009507/0.458, allocations: 448.9 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.458, allocations: 12.03 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.4581, allocations: 12.75 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.4584, allocations: 209.6 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.4584, allocations: 8.375 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.4584, allocations: 11.92 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.4589, allocations: 149.5 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4589, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.4589, allocations: 11.98 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4589, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.4595, allocations: 155.8 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.4603, allocations: 416.4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/0.4612, allocations: 174.4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.4615, allocations: 88.95 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.4615, allocations: 7.922 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.4616, allocations: 34.56 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4616, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0009945/0.4626, allocations: 281.2 kB / 1.073 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.4626, allocations: 55.41 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.4628, allocations: 160.9 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.4628, allocations: 25.7 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.4629, allocations: 104 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.463, allocations: 23.66 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.463, allocations: 33.7 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4632, allocations: 318.8 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.4634, allocations: 75.92 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.4637, allocations: 75.92 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.4642, allocations: 164.6 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4643, allocations: 4.562 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006286/0.4649, allocations: 205.2 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4649, allocations: 11.94 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4649, allocations: 0 / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4649, allocations: 0 / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.4652, allocations: 39.95 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4652, allocations: 0 / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.4654, allocations: 27.91 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.4654, allocations: 3.984 kB / 1.074 GB, free: 4.457 MB / 0.8262 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.0001117/0.4655, allocations: 119.6 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.4656, allocations: 11.84 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.4656, allocations: 20.7 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4656, allocations: 4 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4657, allocations: 4 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4657, allocations: 0 / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.4659, allocations: 233.5 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.466, allocations: 3.938 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.4662, allocations: 35.95 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.4662, allocations: 7.938 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.4662, allocations: 3.984 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4662, allocations: 0 / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4662, allocations: 7.938 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006662/0.4669, allocations: 299.2 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.467, allocations: 88.95 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.467, allocations: 4 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.4672, allocations: 23.97 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4673, allocations: 27.97 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.4674, allocations: 7.984 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.48e-05/0.4675, allocations: 114.4 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4675, allocations: 4 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002461/0.4677, allocations: 23.84 kB / 1.075 GB, free: 3.34 MB / 0.8262 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.0001709/0.4679, allocations: 107.8 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006725/0.4686, allocations: 179.8 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4686, allocations: 4 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.4689, allocations: 91.92 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.4692, allocations: 29.64 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.4698, allocations: 241.8 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4701, allocations: 0.708 MB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000108/0.4702, allocations: 24.42 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.4703, allocations: 23.42 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4703, allocations: 0 / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.005322/0.4756, allocations: 2.397 MB / 1.078 GB, free: 15.5 MB / 0.8419 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