Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.000986/0.000986, allocations: 88.77 kB / 16.02 MB, free: 80 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.001275/0.001275, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003729, allocations: 12 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6553, allocations: 153.8 MB / 1.024 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001086/0.6564, allocations: 0.5953 MB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.6576, allocations: 0.8702 MB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.6577, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.6578, allocations: 15.92 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.658, allocations: 23.78 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.6581, allocations: 31.95 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.6583, allocations: 135.5 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.6585, allocations: 53.33 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.6586, allocations: 43.78 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.6587, allocations: 71.73 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.6588, allocations: 11.98 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.6588, allocations: 4 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.6589, allocations: 35.84 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.659, allocations: 81.3 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.6591, allocations: 113.7 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6591, allocations: 4 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6591, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6591, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 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.0009274/0.6601, allocations: 0.5105 MB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.6601, allocations: 8.031 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.6602, allocations: 20.66 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.6604, allocations: 224 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6604, allocations: 4.375 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.6605, allocations: 8.375 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.6611, allocations: 210.1 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6611, allocations: 192 / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.6611, allocations: 3.938 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6611, allocations: 4 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008546/0.662, allocations: 275.8 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.6631, allocations: 0.5392 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.6636, allocations: 178.4 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.664, allocations: 148.7 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.664, allocations: 0 / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.6641, allocations: 34.56 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.6641, allocations: 7.938 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001372/0.6654, allocations: 441.3 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.6655, allocations: 51.41 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.6657, allocations: 187.4 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.6657, allocations: 25.7 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.6658, allocations: 124 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.6658, allocations: 31.5 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.6659, allocations: 21.7 kB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.666, allocations: 326.8 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.6664, allocations: 127.9 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.6668, allocations: 135.8 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.6676, allocations: 268.6 kB / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6676, allocations: 0 / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008955/0.6685, allocations: 313.8 kB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6685, allocations: 8 kB / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6686, allocations: 0 / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6686, allocations: 0 / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.6689, allocations: 59.94 kB / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6689, allocations: 4.031 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.6691, allocations: 55.89 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.6691, allocations: 0 / 1.03 GB, free: 9.191 MB / 0.7794 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.0001111/0.6692, allocations: 134.4 kB / 1.03 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.6693, allocations: 15.75 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.6693, allocations: 21.41 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6694, allocations: 0 / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6694, allocations: 7.938 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6694, allocations: 3.984 kB / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.6696, allocations: 253.5 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6696, allocations: 0 / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.6699, allocations: 55.94 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6699, allocations: 4 kB / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.6699, allocations: 0 / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6699, allocations: 4 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.67, allocations: 3.938 kB / 1.03 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/0.6709, allocations: 415.1 kB / 1.031 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.6709, allocations: 96.84 kB / 1.031 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.671, allocations: 0 / 1.031 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.6712, allocations: 39.95 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.6713, allocations: 23.91 kB / 1.031 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.6713, allocations: 4 kB / 1.031 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001093/0.6714, allocations: 132.4 kB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6714, allocations: 3.938 kB / 1.031 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002749/0.6717, allocations: 28 kB / 1.031 GB, free: 7.883 MB / 0.7794 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.0001811/0.6719, allocations: 103.2 kB / 1.031 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009309/0.6728, allocations: 279.8 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6728, allocations: 0 / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.6733, allocations: 140.1 kB / 1.032 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.6737, allocations: 28.11 kB / 1.032 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.6744, allocations: 388.2 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.6748, allocations: 0.7238 MB / 1.033 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.6748, allocations: 11.44 kB / 1.033 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.6748, allocations: 3.938 kB / 1.033 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.004668/0.6795, allocations: 2.011 MB / 1.035 GB, free: 4.164 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches