Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.01075/0.01075, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.607/1.607, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.653/2.653, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8674, allocations: 142.4 MB / 0.9551 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001705/0.8692, allocations: 0.5903 MB / 0.9556 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.8712, allocations: 0.8792 MB / 0.9565 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.8714, allocations: 2.094 kB / 0.9565 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.8716, allocations: 12.88 kB / 0.9565 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.8718, allocations: 23.41 kB / 0.9565 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.8721, allocations: 38.42 kB / 0.9566 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.8724, allocations: 131.5 kB / 0.9567 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.8727, allocations: 55.7 kB / 0.9568 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.8729, allocations: 44.03 kB / 0.9568 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.8731, allocations: 72.98 kB / 0.9569 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.8731, allocations: 5.406 kB / 0.9569 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.435e-05/0.8732, allocations: 5.594 kB / 0.9569 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.8733, allocations: 36.69 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.8734, allocations: 84.36 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.8737, allocations: 157 kB / 0.9571 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.8737, allocations: 0 / 0.9571 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.268e-06/0.8737, allocations: 0 / 0.9571 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.8737, allocations: 4 kB / 0.9571 GB, free: 6.043 MB / 0.7169 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.001355/0.8751, allocations: 0.5016 MB / 0.9576 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/0.8752, allocations: 8.656 kB / 0.9576 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.8753, allocations: 16.69 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.8756, allocations: 227.2 kB / 0.9579 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.8756, allocations: 7.719 kB / 0.9579 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.8757, allocations: 9.656 kB / 0.9579 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.8765, allocations: 210 kB / 0.9581 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.8765, allocations: 192 / 0.9581 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.8766, allocations: 7.922 kB / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.8766, allocations: 2.562 kB / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.8777, allocations: 286.3 kB / 0.9584 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.8791, allocations: 0.5327 MB / 0.9589 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.8798, allocations: 180 kB / 0.9591 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.8804, allocations: 146 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.8804, allocations: 1.375 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.8805, allocations: 35.94 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.956e-06/0.8805, allocations: 0 / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.00186/0.8823, allocations: 443.1 kB / 0.9597 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.8824, allocations: 56.81 kB / 0.9597 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.8827, allocations: 178.1 kB / 0.9599 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.8827, allocations: 26.67 kB / 0.9599 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.8828, allocations: 123.1 kB / 0.96 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.8829, allocations: 35.23 kB / 0.9601 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.8829, allocations: 15.69 kB / 0.9601 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.883, allocations: 331.1 kB / 0.9604 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.8836, allocations: 136 kB / 0.9605 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.8841, allocations: 132.4 kB / 0.9606 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.8853, allocations: 265.8 kB / 0.9609 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8853, allocations: 0 / 0.9609 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001208/0.8865, allocations: 319.2 kB / 0.9612 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.8865, allocations: 4.625 kB / 0.9612 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8866, allocations: 0.8125 kB / 0.9612 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.8866, allocations: 0.75 kB / 0.9612 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.887, allocations: 56.05 kB / 0.9613 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.8871, allocations: 5.062 kB / 0.9613 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.8874, allocations: 50.61 kB / 0.9613 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.8874, allocations: 5.234 kB / 0.9613 GB, free: 3.141 MB / 0.7169 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.0001328/0.8876, allocations: 131.9 kB / 0.9615 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.8876, allocations: 17.92 kB / 0.9615 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.8877, allocations: 22.62 kB / 0.9615 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8877, allocations: 0 / 0.9615 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.8877, allocations: 9.438 kB / 0.9615 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.8877, allocations: 0 / 0.9615 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.888, allocations: 244.9 kB / 0.9617 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.8881, allocations: 4 kB / 0.9617 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.8884, allocations: 53.05 kB / 0.9618 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8884, allocations: 5.125 kB / 0.9618 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.8884, allocations: 0 / 0.9618 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8884, allocations: 5.062 kB / 0.9618 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.8885, allocations: 3.938 kB / 0.9618 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.8897, allocations: 415 kB / 0.9622 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.8897, allocations: 92.23 kB / 0.9623 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.8898, allocations: 5.094 kB / 0.9623 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.8901, allocations: 46.3 kB / 0.9623 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.8902, allocations: 16.41 kB / 0.9623 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.8903, allocations: 5.156 kB / 0.9624 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001233/0.8904, allocations: 138.9 kB / 0.9625 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8904, allocations: 0 / 0.9625 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002743/0.8907, allocations: 26.03 kB / 0.9625 GB, free: 2.203 MB / 0.7169 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.0001515/0.8909, allocations: 107.6 kB / 0.9626 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009185/0.8918, allocations: 282 kB / 0.9629 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8918, allocations: 4 kB / 0.9629 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.8922, allocations: 141.7 kB / 0.963 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.8926, allocations: 19.77 kB / 0.963 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.8933, allocations: 355.5 kB / 0.9634 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.8936, allocations: 0.725 MB / 0.9641 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.8937, allocations: 21.56 kB / 0.9641 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.8938, allocations: 11.69 kB / 0.9641 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.8938, allocations: 5.094 kB / 0.9641 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.005344/0.8991, allocations: 1.538 MB / 0.9656 GB, free: 156 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches