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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001591/0.00159, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001714/0.001714, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.46/1.46, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 482.2 MB / 0.7548 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 68.81 kB / 0.9238 GB, free: 476 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9974/0.9996, allocations: 162.2 MB / 1.082 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.003356/1.003, allocations: 0.9279 MB / 1.083 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001733/1.005, allocations: 0.8794 MB / 1.084 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/1.005, allocations: 6.062 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/1.005, allocations: 11.28 kB / 1.084 GB, free: 440 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/1.005, allocations: 23.2 kB / 1.084 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/1.006, allocations: 31.64 kB / 1.084 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002915/1.006, allocations: 135.3 kB / 1.084 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/1.006, allocations: 63.62 kB / 1.084 GB, free: 312 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/1.006, allocations: 57.09 kB / 1.084 GB, free: 284 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/1.007, allocations: 82.47 kB / 1.084 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/1.007, allocations: 13.34 kB / 1.084 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.496e-05/1.007, allocations: 12.19 kB / 1.084 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/1.007, allocations: 45.48 kB / 1.084 GB, free: 228 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/1.007, allocations: 73.09 kB / 1.084 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/1.007, allocations: 118.9 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.007, allocations: 4 kB / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of FrontEnd: time 3.506e-06/1.007, allocations: 0 / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.487e-06/1.007, allocations: 3.938 kB / 1.085 GB, free: 140 kB / 0.8262 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.001538/1.009, allocations: 0.4969 MB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.009, allocations: 10.34 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/1.009, allocations: 20.31 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/1.009, allocations: 221.6 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.009, allocations: 7.062 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/1.009, allocations: 6.344 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/1.01, allocations: 185.7 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.01, allocations: 192 / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/1.01, allocations: 5.375 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.01, allocations: 1.406 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/1.011, allocations: 225.3 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/1.012, allocations: 0.5117 MB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/1.012, allocations: 152.8 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/1.013, allocations: 119.5 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.013, allocations: 1.25 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/1.013, allocations: 44.81 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/1.013, allocations: 0 / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001274/1.014, allocations: 362.3 kB / 1.087 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.014, allocations: 54.33 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/1.014, allocations: 186.2 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/1.014, allocations: 26.67 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.015, allocations: 129 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/1.015, allocations: 34.47 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/1.015, allocations: 20.55 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.015, allocations: 324.2 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/1.015, allocations: 100.6 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/1.016, allocations: 105.2 kB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/1.016, allocations: 221.5 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.016, allocations: 0 / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008184/1.017, allocations: 255.5 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.017, allocations: 4.719 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.017, allocations: 5.188 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.017, allocations: 0.75 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/1.018, allocations: 45.91 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.018, allocations: 4.906 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/1.018, allocations: 39.33 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/1.018, allocations: 1.75 kB / 1.088 GB, free: 13.89 MB / 0.8419 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.0001333/1.018, allocations: 127.5 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/1.018, allocations: 14.97 kB / 1.089 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/1.018, allocations: 19.42 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.018, allocations: 2.297 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.018, allocations: 3.938 kB / 1.089 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.018, allocations: 5.656 kB / 1.089 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/1.018, allocations: 254.4 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.018, allocations: 0 / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/1.019, allocations: 46.23 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.019, allocations: 0.8125 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/1.019, allocations: 1.406 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.019, allocations: 1.125 kB / 1.089 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.019, allocations: 3.938 kB / 1.089 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/1.02, allocations: 358.3 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/1.02, allocations: 97.31 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/1.02, allocations: 1.906 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/1.02, allocations: 30.69 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/1.02, allocations: 16.61 kB / 1.089 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/1.02, allocations: 6.344 kB / 1.089 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001276/1.02, allocations: 132 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/1.02, allocations: 0 / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002681/1.021, allocations: 30.56 kB / 1.089 GB, free: 13.1 MB / 0.8419 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.0001753/1.021, allocations: 99.05 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000853/1.022, allocations: 235.2 kB / 1.09 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.022, allocations: 0 / 1.09 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004054/1.022, allocations: 119.1 kB / 1.09 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/1.022, allocations: 31.05 kB / 1.09 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/1.023, allocations: 381 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/1.024, allocations: 0.7243 MB / 1.091 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/1.024, allocations: 21.06 kB / 1.091 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/1.024, allocations: 1.156 kB / 1.091 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.00539/1.029, allocations: 2.036 MB / 1.093 GB, free: 11.78 MB / 0.8419 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/jenkins1/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