Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00235/0.00235, allocations: 218.6 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.365/3.365, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 74.16 kB / 1.178 GB, free: 16.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3495, allocations: 180.2 MB / 1.354 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002105/0.3516, allocations: 0.8909 MB / 1.355 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3528, allocations: 0.9094 MB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.3528, allocations: 0 / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.353, allocations: 19.8 kB / 1.356 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.3531, allocations: 27.73 kB / 1.356 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.3532, allocations: 39.94 kB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3534, allocations: 139.6 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.3536, allocations: 41.5 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.3537, allocations: 59.78 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3538, allocations: 79.72 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.3539, allocations: 16 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.172e-05/0.3539, allocations: 12 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.354, allocations: 43.84 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.867e-05/0.354, allocations: 67.59 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3543, allocations: 183.1 kB / 1.357 GB, free: 5.371 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3543, allocations: 0 / 1.357 GB, free: 5.371 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3543, allocations: 7.938 kB / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3543, allocations: 0 / 1.357 GB, free: 5.363 MB / 1.045 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.0009637/0.3552, allocations: 437.4 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3553, allocations: 12.03 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3553, allocations: 20.8 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.3555, allocations: 154.2 kB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3556, allocations: 8.312 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3556, allocations: 12.38 kB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.3561, allocations: 180.1 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3561, allocations: 4.188 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.3562, allocations: 7.938 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3562, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.3569, allocations: 219.8 kB / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.358, allocations: 491.4 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.3584, allocations: 142.5 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.3588, allocations: 120.9 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3588, allocations: 0 / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3589, allocations: 38.5 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.3589, allocations: 0 / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.001235/0.3601, allocations: 361.4 kB / 1.359 GB, free: 3.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3601, allocations: 55.41 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3603, allocations: 182.8 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3603, allocations: 29.7 kB / 1.359 GB, free: 2.781 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.3604, allocations: 124 kB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.3605, allocations: 23.75 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.3605, allocations: 29.7 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3607, allocations: 326.8 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.3611, allocations: 103.9 kB / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.3614, allocations: 108.2 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.3621, allocations: 220.6 kB / 1.36 GB, free: 1.844 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3621, allocations: 0 / 1.36 GB, free: 1.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007765/0.3629, allocations: 257.3 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3629, allocations: 9.875 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3629, allocations: 0 / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3629, allocations: 4 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3632, allocations: 47.94 kB / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3632, allocations: 3.938 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.3634, allocations: 35.89 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.3634, allocations: 0 / 1.36 GB, free: 1.488 MB / 1.045 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.0001244/0.3636, allocations: 138.4 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.3636, allocations: 11.91 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.3637, allocations: 21.41 kB / 1.36 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.3637, allocations: 7.984 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3637, allocations: 3.938 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3637, allocations: 0 / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.364, allocations: 220.6 kB / 1.361 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.364, allocations: 0 / 1.361 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.3642, allocations: 43.94 kB / 1.361 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3642, allocations: 4 kB / 1.361 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3642, allocations: 4 kB / 1.361 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3642, allocations: 4 kB / 1.361 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3642, allocations: 3.938 kB / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.3651, allocations: 359.3 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.3651, allocations: 11.91 kB / 1.361 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.3652, allocations: 8 kB / 1.361 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3654, allocations: 27.95 kB / 1.361 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.3654, allocations: 23.91 kB / 1.361 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3655, allocations: 0 / 1.361 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001157/0.3656, allocations: 139.1 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3656, allocations: 0 / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002596/0.3658, allocations: 31.89 kB / 1.361 GB, free: 376 kB / 1.045 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.0001419/0.366, allocations: 95.25 kB / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008016/0.3668, allocations: 219.7 kB / 1.362 GB, free: 52 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3668, allocations: 0 / 1.362 GB, free: 52 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3672, allocations: 119.9 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3675, allocations: 31.92 kB / 1.362 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.3683, allocations: 329.1 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3686, allocations: 0.7275 MB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.3687, allocations: 15.44 kB / 1.363 GB, free: 14.78 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3687, allocations: 480 / 1.363 GB, free: 14.78 MB / 1.061 GB Notification: Performance of Templates: time 0.004166/0.3729, allocations: 2.035 MB / 1.365 GB, free: 12.76 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.913010052987374]