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.001181/0.001182, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001242/0.001243, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.981/2.981, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 63.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.9012, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002225/0.9035, allocations: 0.8778 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.9048, allocations: 0.878 MB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.9049, allocations: 3.938 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.905, allocations: 23.8 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.9052, allocations: 27.73 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.9054, allocations: 39.94 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.9056, allocations: 139.6 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.9058, allocations: 53.33 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.9059, allocations: 59.77 kB / 1.211 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.9061, allocations: 87.72 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.9061, allocations: 12 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.249e-05/0.9062, allocations: 12 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.9062, allocations: 43.84 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.9063, allocations: 63.59 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.9065, allocations: 179.1 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9066, allocations: 0 / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9066, allocations: 0 / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.9066, allocations: 4 kB / 1.211 GB, free: 11.14 MB / 0.9356 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.001103/0.9077, allocations: 0.5043 MB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.9078, allocations: 8.031 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.9078, allocations: 20.75 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.908, allocations: 216 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.9081, allocations: 4.375 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.9081, allocations: 8.375 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.9087, allocations: 179.4 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.9087, allocations: 192 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.9087, allocations: 11.94 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.9087, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.9095, allocations: 223.8 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.9106, allocations: 0.508 MB / 1.213 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.9111, allocations: 150.4 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.9115, allocations: 116.8 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.9115, allocations: 4.125 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.9116, allocations: 34.55 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.9116, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.00127/0.9129, allocations: 365.4 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.9129, allocations: 55.5 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.9131, allocations: 187.5 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.9131, allocations: 25.7 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.9132, allocations: 120 kB / 1.214 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.9133, allocations: 31.55 kB / 1.214 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.9133, allocations: 17.72 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9135, allocations: 326.8 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.9139, allocations: 111.9 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.9143, allocations: 99.89 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.915, allocations: 224.5 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.915, allocations: 0 / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008236/0.9159, allocations: 257.2 kB / 1.215 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9159, allocations: 7.984 kB / 1.215 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9159, allocations: 0 / 1.215 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.9159, allocations: 0 / 1.215 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.9162, allocations: 47.95 kB / 1.215 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.9163, allocations: 7.922 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.9165, allocations: 31.95 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.9165, allocations: 0 / 1.215 GB, free: 7.07 MB / 0.9356 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.0001212/0.9166, allocations: 129.8 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.9167, allocations: 19.8 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.9167, allocations: 29.39 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.9167, allocations: 288 / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9167, allocations: 3.938 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9168, allocations: 0 / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.917, allocations: 253.5 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.917, allocations: 0 / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.9173, allocations: 43.89 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.9173, allocations: 0 / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.9173, allocations: 8 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.716e-06/0.9173, allocations: 4 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9174, allocations: 3.938 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.9182, allocations: 355.1 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.9183, allocations: 92.86 kB / 1.216 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.9183, allocations: 4 kB / 1.216 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.9186, allocations: 31.95 kB / 1.216 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.9186, allocations: 15.92 kB / 1.216 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.9187, allocations: 8 kB / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001169/0.9188, allocations: 140.1 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9188, allocations: 0 / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002586/0.9191, allocations: 24 kB / 1.216 GB, free: 5.832 MB / 0.9356 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.0001708/0.9192, allocations: 99.25 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008603/0.9201, allocations: 223.7 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9201, allocations: 0 / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.9205, allocations: 131.8 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.9209, allocations: 28.39 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/0.9217, allocations: 341.2 kB / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.922, allocations: 0.7197 MB / 1.217 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.9221, allocations: 15.44 kB / 1.217 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.9221, allocations: 0 / 1.217 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of Templates: time 0.004171/0.9263, allocations: 2.036 MB / 1.219 GB, free: 2.203 MB / 0.9356 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