Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001065/0.001065, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00882/0.008821, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.525/2.525, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004045, allocations: 12 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.876/0.8765, allocations: 142.4 MB / 0.9551 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001062/0.8776, allocations: 0.5544 MB / 0.9556 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.8788, allocations: 0.8977 MB / 0.9565 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.879, allocations: 1.438 kB / 0.9565 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.8791, allocations: 9.328 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.8793, allocations: 9.438 kB / 0.9565 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.8796, allocations: 53.81 kB / 0.9565 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.8798, allocations: 115.4 kB / 0.9567 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.88, allocations: 50.7 kB / 0.9567 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.8801, allocations: 49.86 kB / 0.9568 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.8804, allocations: 66.33 kB / 0.9568 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.8804, allocations: 4.594 kB / 0.9568 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.744e-05/0.8805, allocations: 5.25 kB / 0.9568 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.8805, allocations: 27 kB / 0.9569 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.8807, allocations: 77.84 kB / 0.9569 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.8809, allocations: 117.5 kB / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.8809, allocations: 0 / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8809, allocations: 0 / 0.957 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.8809, allocations: 1.094 kB / 0.957 GB, free: 6.031 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001006/0.8819, allocations: 446.9 kB / 0.9575 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.882, allocations: 9.094 kB / 0.9575 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.8821, allocations: 15.06 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.8823, allocations: 221.6 kB / 0.9577 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.8824, allocations: 8.5 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.8824, allocations: 12.28 kB / 0.9577 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.8829, allocations: 164.7 kB / 0.9579 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8829, allocations: 0 / 0.9579 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.8829, allocations: 1.469 kB / 0.9579 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.883, allocations: 1.438 kB / 0.9579 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.8836, allocations: 192.1 kB / 0.9581 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008918/0.8845, allocations: 417.5 kB / 0.9585 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.8858, allocations: 188.6 kB / 0.9586 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.8862, allocations: 106.7 kB / 0.9587 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.8863, allocations: 4 kB / 0.9587 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.8863, allocations: 35.91 kB / 0.9588 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.8863, allocations: 0 / 0.9588 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.00109/0.8874, allocations: 330.5 kB / 0.9591 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.8874, allocations: 52.78 kB / 0.9591 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.8876, allocations: 149.2 kB / 0.9593 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.8876, allocations: 35.02 kB / 0.9593 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.8877, allocations: 105.5 kB / 0.9594 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.8877, allocations: 26.31 kB / 0.9594 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.8877, allocations: 25.83 kB / 0.9595 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.8878, allocations: 317.6 kB / 0.9598 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.8881, allocations: 93.55 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.8884, allocations: 90.92 kB / 0.96 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.889, allocations: 193.8 kB / 0.9601 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.889, allocations: 0 / 0.9601 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006496/0.8897, allocations: 232.3 kB / 0.9604 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.8897, allocations: 12.31 kB / 0.9604 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8897, allocations: 0.7812 kB / 0.9604 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.8898, allocations: 0.875 kB / 0.9604 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.8901, allocations: 55.14 kB / 0.9604 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8901, allocations: 0 / 0.9604 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.8903, allocations: 30.62 kB / 0.9605 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.8903, allocations: 10.89 kB / 0.9605 GB, free: 3.398 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: 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.0001317/0.8905, allocations: 121.2 kB / 0.9606 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.8905, allocations: 15.78 kB / 0.9606 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.8906, allocations: 19.95 kB / 0.9606 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8906, allocations: 1.094 kB / 0.9606 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8906, allocations: 4 kB / 0.9606 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8906, allocations: 0.8438 kB / 0.9606 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.8909, allocations: 232 kB / 0.9608 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8909, allocations: 1.156 kB / 0.9608 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.8911, allocations: 46.12 kB / 0.9609 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.8912, allocations: 4.969 kB / 0.9609 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.8912, allocations: 5.125 kB / 0.9609 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.8912, allocations: 5.062 kB / 0.9609 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8912, allocations: 3.938 kB / 0.9609 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.892, allocations: 323.5 kB / 0.9612 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.892, allocations: 99.81 kB / 0.9613 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.8921, allocations: 9.094 kB / 0.9613 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.8923, allocations: 25.91 kB / 0.9613 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.8924, allocations: 34.42 kB / 0.9614 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.8924, allocations: 6.938 kB / 0.9614 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.8925, allocations: 113.1 kB / 0.9615 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8925, allocations: 0 / 0.9615 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002989/0.8929, allocations: 27.5 kB / 0.9615 GB, free: 2.504 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: 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.0002013/0.8931, allocations: 101.3 kB / 0.9616 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000746/0.8938, allocations: 201.5 kB / 0.9618 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8938, allocations: 4 kB / 0.9618 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.8942, allocations: 116.8 kB / 0.9619 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.8946, allocations: 20.98 kB / 0.9619 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.8953, allocations: 277.9 kB / 0.9622 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.8955, allocations: 0.7066 MB / 0.9629 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.8957, allocations: 21.77 kB / 0.9629 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.8958, allocations: 17.92 kB / 0.9629 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.8958, allocations: 1 kB / 0.9629 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.006276/0.902, allocations: 2.042 MB / 0.9649 GB, free: 288 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches