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.001712/0.001712, allocations: 107.4 kB / 15.34 MB, free: 0.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.001947/0.001947, allocations: 194.1 kB / 16.25 MB, free: 6.16 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.576/1.576, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.5/2.5, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.91 kB / 0.8121 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.8996, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.0028/0.9024, allocations: 0.9407 MB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.904, allocations: 0.8779 MB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.904, allocations: 1.312 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.9042, allocations: 17.14 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.9044, allocations: 20.58 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.9045, allocations: 38.33 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.9047, allocations: 132.8 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.905, allocations: 57.25 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.905, allocations: 58.16 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.9052, allocations: 92.38 kB / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.9052, allocations: 12.38 kB / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.9052, allocations: 12.38 kB / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.9053, allocations: 48.25 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.9054, allocations: 63.97 kB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.9056, allocations: 163.9 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.9056, allocations: 0 / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9056, allocations: 0 / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.9056, allocations: 3.984 kB / 0.9516 GB, free: 7.215 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.0009824/0.9066, allocations: 0.5048 MB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.9067, allocations: 9.594 kB / 0.9521 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.9067, allocations: 16.09 kB / 0.9521 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.9069, allocations: 223 kB / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.9069, allocations: 11.09 kB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.907, allocations: 9.75 kB / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.9075, allocations: 182.2 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.9076, allocations: 192 / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.9076, allocations: 9.125 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.9076, allocations: 2.969 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007229/0.9083, allocations: 218.3 kB / 0.9527 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.9093, allocations: 0.5092 MB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.9098, allocations: 151.6 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.9102, allocations: 121.5 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.9102, allocations: 1.656 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.9103, allocations: 30.56 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.9103, allocations: 0 / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001322/0.9116, allocations: 367 kB / 0.9539 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.9116, allocations: 52.41 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.9118, allocations: 178 kB / 0.9541 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.9119, allocations: 34.58 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.912, allocations: 127.7 kB / 0.9542 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.912, allocations: 30.86 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.9121, allocations: 24.42 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.9122, allocations: 326.3 kB / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.9126, allocations: 108.4 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.9129, allocations: 103.2 kB / 0.9548 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.9136, allocations: 209.1 kB / 0.955 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9136, allocations: 0.5625 kB / 0.955 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008219/0.9145, allocations: 267.1 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.9145, allocations: 4.812 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9145, allocations: 4 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.9146, allocations: 1.156 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.9149, allocations: 44.09 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.9149, allocations: 5.406 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.9151, allocations: 37.05 kB / 0.9554 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.9151, allocations: 2.969 kB / 0.9554 GB, free: 4.34 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.0001185/0.9152, allocations: 134.6 kB / 0.9555 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.9153, allocations: 16.34 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.9153, allocations: 21.16 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9154, allocations: 0 / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.9154, allocations: 7.922 kB / 0.9555 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.9154, allocations: 1.188 kB / 0.9555 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.9156, allocations: 247.5 kB / 0.9558 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9157, allocations: 0 / 0.9558 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.9159, allocations: 45.53 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.9159, allocations: 1.062 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.9159, allocations: 0 / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9159, allocations: 1.062 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9159, allocations: 3.938 kB / 0.9558 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007585/0.9167, allocations: 353.8 kB / 0.9561 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.9167, allocations: 92.67 kB / 0.9562 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.9168, allocations: 1.781 kB / 0.9562 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.917, allocations: 41.91 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.9171, allocations: 15.52 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.9171, allocations: 5.75 kB / 0.9563 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.169e-05/0.9172, allocations: 143.1 kB / 0.9564 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9172, allocations: 0 / 0.9564 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002524/0.9175, allocations: 25.84 kB / 0.9565 GB, free: 3.41 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.0001867/0.9177, allocations: 106.4 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007963/0.9185, allocations: 230 kB / 0.9568 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9185, allocations: 1 kB / 0.9568 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.9189, allocations: 116.5 kB / 0.9569 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.9192, allocations: 24.59 kB / 0.9569 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.9199, allocations: 353.1 kB / 0.9573 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.9202, allocations: 0.7244 MB / 0.958 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.703e-05/0.9203, allocations: 23.56 kB / 0.958 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.9203, allocations: 15.56 kB / 0.958 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9203, allocations: 0 / 0.958 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.004483/0.9248, allocations: 1.633 MB / 0.9596 GB, free: 1.332 MB / 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