Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001463/0.001463, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.001425/0.001425, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.551/1.551, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 72.03 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9121/0.9142, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.00257/0.9168, allocations: 0.8815 MB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.9185, allocations: 0.8881 MB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.9187, allocations: 0 / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.9188, allocations: 19.8 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.9191, allocations: 27.8 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.9193, allocations: 39.94 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.9196, allocations: 135.6 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.9199, allocations: 53.34 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.92, allocations: 59.77 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.9202, allocations: 91.66 kB / 1.17 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.9202, allocations: 12 kB / 1.17 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.9203, allocations: 12 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.9204, allocations: 39.91 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.9205, allocations: 79.45 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.9208, allocations: 167.9 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.9209, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9209, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.547e-06/0.9209, allocations: 4 kB / 1.17 GB, free: 1.328 MB / 0.8887 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.001238/0.9221, allocations: 0.4986 MB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.9222, allocations: 8.625 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.9223, allocations: 32.72 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.9226, allocations: 220.9 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.9226, allocations: 12.38 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.9226, allocations: 4.375 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.9232, allocations: 180.5 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.9232, allocations: 192 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.9232, allocations: 7.938 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.9233, allocations: 4 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.924, allocations: 227.7 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.9251, allocations: 0.5003 MB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.9256, allocations: 154.4 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.926, allocations: 112.8 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.9261, allocations: 4 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.9261, allocations: 34.56 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.9261, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.001287/0.9274, allocations: 365.5 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.9275, allocations: 51.41 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.9277, allocations: 187.3 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.9277, allocations: 33.7 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.9278, allocations: 127.9 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.9279, allocations: 31.73 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.928, allocations: 21.72 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.9281, allocations: 322.8 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.9285, allocations: 103.9 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.9289, allocations: 108.2 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.9296, allocations: 216.6 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9296, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000813/0.9304, allocations: 257.3 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9305, allocations: 6.344 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9305, allocations: 7.922 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.9305, allocations: 3.984 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.9308, allocations: 51.89 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.9308, allocations: 3.938 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.931, allocations: 35.95 kB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.931, allocations: 4 kB / 1.174 GB, free: 13.23 MB / 0.9044 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.0001345/0.9312, allocations: 125.8 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.9312, allocations: 15.91 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.874e-05/0.9313, allocations: 25.39 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9313, allocations: 4 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.9313, allocations: 3.938 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.9313, allocations: 0 / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.9317, allocations: 253.5 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9317, allocations: 0 / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.9319, allocations: 39.95 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.9319, allocations: 4 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.932, allocations: 0 / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.932, allocations: 0 / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.932, allocations: 7.938 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000872/0.9328, allocations: 359.4 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.9329, allocations: 96.94 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.933, allocations: 3.984 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.9332, allocations: 31.95 kB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.9333, allocations: 19.86 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.9333, allocations: 4 kB / 1.175 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001313/0.9334, allocations: 132.4 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9334, allocations: 0 / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002548/0.9337, allocations: 31.95 kB / 1.175 GB, free: 12 MB / 0.9044 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.0001997/0.9339, allocations: 99.25 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008478/0.9347, allocations: 227.7 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9348, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.9352, allocations: 115.9 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.9355, allocations: 27.92 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.9362, allocations: 299.3 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.9367, allocations: 0.7314 MB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.761e-05/0.9368, allocations: 24.81 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.9369, allocations: 11.44 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.9369, allocations: 0 / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.005675/0.9426, allocations: 1.92 MB / 1.178 GB, free: 8.512 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches