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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009613/0.009613, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.002095/0.002095, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 461.8 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 71.89 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3702, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002102/0.3724, allocations: 0.8773 MB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3738, allocations: 0.874 MB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.3739, allocations: 4 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.3741, allocations: 15.8 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.3742, allocations: 27.78 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.3744, allocations: 39.95 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.3746, allocations: 143.6 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.3749, allocations: 49.34 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.375, allocations: 63.7 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3751, allocations: 75.73 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.3752, allocations: 12 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.665e-05/0.3752, allocations: 20 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3753, allocations: 47.81 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.088e-05/0.3754, allocations: 71.59 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.3757, allocations: 171.4 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3757, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3757, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3757, allocations: 0 / 1.21 GB, free: 7.113 MB / 0.9669 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.0009498/0.3766, allocations: 0.5064 MB / 1.211 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.3767, allocations: 12.62 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.3768, allocations: 20.66 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.377, allocations: 220.5 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.377, allocations: 12.31 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.377, allocations: 8.375 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.3776, allocations: 179.1 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3776, allocations: 4.125 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.3776, allocations: 11.94 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3776, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.3784, allocations: 219.8 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009885/0.3794, allocations: 0.5003 MB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.3798, allocations: 154.4 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.3802, allocations: 112.8 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3802, allocations: 4 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3803, allocations: 34.75 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 2.925e-06/0.3803, allocations: 0 / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.001233/0.3815, allocations: 361.1 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3815, allocations: 59.34 kB / 1.213 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3817, allocations: 178.4 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3817, allocations: 29.7 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.3818, allocations: 124 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.3819, allocations: 39.53 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.3819, allocations: 21.72 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.382, allocations: 322.8 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.3824, allocations: 103.9 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.3828, allocations: 107.8 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.3835, allocations: 221.1 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3835, allocations: 0 / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007732/0.3843, allocations: 257.3 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.3843, allocations: 6.031 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3843, allocations: 4 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3843, allocations: 0 / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.3846, allocations: 47.88 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3846, allocations: 7.922 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.3848, allocations: 39.95 kB / 1.214 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3849, allocations: 0 / 1.214 GB, free: 3.016 MB / 0.9669 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.0001182/0.385, allocations: 129.8 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.385, allocations: 11.81 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.3851, allocations: 21.39 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3851, allocations: 0 / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3851, allocations: 7.938 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3851, allocations: 4 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.3854, allocations: 249.5 kB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3854, allocations: 0 / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.3856, allocations: 43.94 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3857, allocations: 7.922 kB / 1.214 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3857, allocations: 0 / 1.214 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3857, allocations: 4 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3857, allocations: 3.938 kB / 1.214 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008359/0.3865, allocations: 359.1 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.3866, allocations: 92.92 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3866, allocations: 3.984 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.3868, allocations: 31.95 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.3869, allocations: 20.11 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3869, allocations: 0 / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001205/0.3871, allocations: 144.1 kB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3871, allocations: 0 / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002568/0.3873, allocations: 24 kB / 1.215 GB, free: 1.785 MB / 0.9669 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.0002259/0.3876, allocations: 107.2 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008157/0.3884, allocations: 227.7 kB / 1.215 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3884, allocations: 3.938 kB / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.3888, allocations: 119.8 kB / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3891, allocations: 23.98 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.3898, allocations: 299.5 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3901, allocations: 0.7236 MB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.799e-05/0.3902, allocations: 20.41 kB / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.3903, allocations: 19.44 kB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3903, allocations: 0 / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of Templates: time 0.004588/0.3949, allocations: 1.92 MB / 1.218 GB, free: 14.3 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches