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.001327/0.001327, allocations: 103.8 kB / 16.41 MB, free: 6.5 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.001449/0.001449, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.274/1.274, allocations: 222.9 MB / 241 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.395/2.395, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7981, 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.001793/0.8, allocations: 0.847 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.8009, allocations: 0.8974 MB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.801, allocations: 4 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.654e-05/0.8011, allocations: 11.88 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/0.8012, allocations: 23.78 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.8013, allocations: 51.94 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.8015, allocations: 131.7 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.8017, allocations: 41.09 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.8017, allocations: 63.81 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.8019, allocations: 75.72 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.8019, allocations: 12 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.8019, allocations: 12 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.802, allocations: 35.91 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.8021, allocations: 67.64 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.8022, allocations: 139.5 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8022, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8022, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.8023, allocations: 0 / 1.211 GB, free: 11.2 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.0007624/0.803, allocations: 448.6 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.8031, allocations: 8.031 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.8031, allocations: 20.75 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.8033, allocations: 208.5 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.8033, allocations: 12.12 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.8034, allocations: 8 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.8038, allocations: 147.3 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.8038, allocations: 0 / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.8038, allocations: 8 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.8038, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.8044, allocations: 155.8 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.805, allocations: 408.5 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/0.8058, allocations: 182.5 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.8061, allocations: 88.86 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.8061, allocations: 3.938 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.8061, allocations: 34.56 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.8061, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0009141/0.807, allocations: 281.2 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.8071, allocations: 55.41 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.8072, allocations: 152.8 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.8072, allocations: 25.7 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.8073, allocations: 112 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.8073, allocations: 27.64 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.8074, allocations: 25.7 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8075, allocations: 326.8 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.8078, allocations: 75.86 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.808, allocations: 75.92 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.8085, allocations: 153.3 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8086, allocations: 0 / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005873/0.8091, allocations: 209.2 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.8092, allocations: 13.72 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8092, allocations: 3.984 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.8092, allocations: 0 / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.8094, allocations: 39.95 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8095, allocations: 0 / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.8096, allocations: 19.97 kB / 1.214 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.8097, allocations: 7.984 kB / 1.214 GB, free: 7.707 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 9.831e-05/0.8098, allocations: 125.8 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.8098, allocations: 19.83 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.8098, allocations: 12.72 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8098, allocations: 4 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.8099, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8099, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.8101, allocations: 241.4 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.8101, allocations: 3.938 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.8103, allocations: 43.89 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8104, allocations: 0 / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.8104, allocations: 7.984 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8104, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8104, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.811, allocations: 303.2 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.8111, allocations: 92.95 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.8111, allocations: 3.984 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.8113, allocations: 19.97 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.8114, allocations: 31.97 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.8114, allocations: 4 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.8115, allocations: 111.2 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8115, allocations: 7.938 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002419/0.8117, allocations: 23.91 kB / 1.215 GB, free: 6.57 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.0001083/0.8119, allocations: 99.25 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006/0.8125, allocations: 179.9 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8125, allocations: 0 / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.8128, allocations: 87.92 kB / 1.215 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.813, allocations: 19.92 kB / 1.215 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.8135, allocations: 271.7 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.8138, allocations: 0.7079 MB / 1.216 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.33e-05/0.8139, allocations: 19.42 kB / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8139, allocations: 0 / 1.216 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of Templates: time 0.002919/0.8168, allocations: 1.826 MB / 1.218 GB, free: 3.32 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