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.009719/0.009719, allocations: 106.2 kB / 15.74 MB, free: 6 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.00171/0.00171, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.676/2.676, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 65.31 kB / 0.9509 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3444, allocations: 140.4 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002752/0.3473, allocations: 0.8813 MB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3487, allocations: 0.878 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.3488, allocations: 3.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.349, allocations: 19.8 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.3492, allocations: 23.81 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.3493, allocations: 39.94 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3495, allocations: 139.6 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.3498, allocations: 53.31 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.3499, allocations: 63.77 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.35, allocations: 83.67 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.3501, allocations: 19.94 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.533e-05/0.3501, allocations: 12 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.3502, allocations: 47.83 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.514e-05/0.3503, allocations: 63.59 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.3505, allocations: 167.4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3505, allocations: 3.984 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3506, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3506, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 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.0009537/0.3515, allocations: 0.5065 MB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3516, allocations: 8.031 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.3516, allocations: 16.75 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.3519, allocations: 223.9 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3519, allocations: 4.375 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3519, allocations: 12.38 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.3524, allocations: 174.1 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3524, allocations: 192 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.3525, allocations: 7.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3525, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006862/0.3532, allocations: 223.7 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3542, allocations: 0.5081 MB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.3547, allocations: 154.4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.355, allocations: 120.7 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.355, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3551, allocations: 34.56 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3551, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001132/0.3562, allocations: 357.4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3563, allocations: 51.41 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3565, allocations: 183.6 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3565, allocations: 29.7 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3566, allocations: 127.9 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.3567, allocations: 27.56 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.3567, allocations: 22.08 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3569, allocations: 334.7 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.3572, allocations: 103.9 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.3576, allocations: 107.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.3582, allocations: 212.6 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3582, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007189/0.3589, allocations: 253.3 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.359, allocations: 8 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.359, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.359, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.3593, allocations: 51.94 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3593, allocations: 3.938 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3595, allocations: 39.8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3595, allocations: 3.938 kB / 1.094 GB, free: 10.85 MB / 0.8575 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.000114/0.3596, allocations: 129.8 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.3597, allocations: 11.81 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.3597, allocations: 21.41 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3597, allocations: 11.98 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3597, allocations: 3.938 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3598, allocations: 3.984 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.36, allocations: 245.5 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3601, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.3603, allocations: 43.94 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3603, allocations: 4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3603, allocations: 4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3603, allocations: 8.281 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3603, allocations: 3.938 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.3611, allocations: 355 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3612, allocations: 85.02 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3612, allocations: 4 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.3614, allocations: 35.94 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.3615, allocations: 15.92 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3615, allocations: 4 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000113/0.3616, allocations: 144.2 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3616, allocations: 0 / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002457/0.3619, allocations: 31.84 kB / 1.095 GB, free: 9.617 MB / 0.8575 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.0001627/0.362, allocations: 103.2 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007353/0.3628, allocations: 223.7 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3628, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.3632, allocations: 119.9 kB / 1.096 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3635, allocations: 25.8 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.3642, allocations: 309.8 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3645, allocations: 0.728 MB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.3646, allocations: 20.42 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.3647, allocations: 11.44 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.3647, allocations: 3.938 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of Templates: time 0.004668/0.3693, allocations: 1.922 MB / 1.099 GB, free: 6.137 MB / 0.8575 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