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.0104/0.0104, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001975/0.001975, allocations: 187 kB / 16.67 MB, free: 5.922 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.634/2.634, allocations: 472.6 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.84 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002196/1.023, allocations: 0.8811 MB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001186/1.024, allocations: 0.8818 MB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/1.024, allocations: 8 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/1.024, allocations: 15.8 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/1.024, allocations: 23.8 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/1.025, allocations: 35.95 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/1.025, allocations: 143.5 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/1.025, allocations: 53.34 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/1.025, allocations: 63.7 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/1.025, allocations: 79.73 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/1.025, allocations: 12 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.499e-05/1.025, allocations: 12 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/1.025, allocations: 47.83 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.215e-05/1.026, allocations: 71.58 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/1.026, allocations: 167.9 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.026, allocations: 0 / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.104e-06/1.026, allocations: 0 / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.052e-05/1.026, allocations: 4 kB / 1.228 GB, free: 10.97 MB / 0.9512 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.001012/1.027, allocations: 0.5024 MB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.027, allocations: 11.97 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/1.027, allocations: 24.8 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/1.027, allocations: 220.1 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.027, allocations: 8.375 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/1.027, allocations: 4.375 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/1.028, allocations: 178.1 kB / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.028, allocations: 192 / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/1.028, allocations: 15.88 kB / 1.229 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.028, allocations: 4 kB / 1.229 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/1.029, allocations: 223.8 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009726/1.03, allocations: 0.5042 MB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/1.03, allocations: 150.4 kB / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/1.03, allocations: 116.8 kB / 1.23 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/1.03, allocations: 0 / 1.23 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/1.03, allocations: 34.56 kB / 1.23 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/1.03, allocations: 192 / 1.23 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001218/1.032, allocations: 361.4 kB / 1.23 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/1.032, allocations: 63.33 kB / 1.23 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/1.032, allocations: 185.3 kB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/1.032, allocations: 29.7 kB / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/1.032, allocations: 128 kB / 1.231 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/1.032, allocations: 31.73 kB / 1.231 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/1.032, allocations: 25.59 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.032, allocations: 322.8 kB / 1.231 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/1.033, allocations: 107.9 kB / 1.231 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/1.033, allocations: 99.89 kB / 1.231 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/1.034, allocations: 216.6 kB / 1.232 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.034, allocations: 0 / 1.232 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007825/1.035, allocations: 261.4 kB / 1.232 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.035, allocations: 4 kB / 1.232 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.035, allocations: 0 / 1.232 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.035, allocations: 0 / 1.232 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/1.035, allocations: 55.88 kB / 1.232 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.035, allocations: 7.938 kB / 1.232 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/1.035, allocations: 31.95 kB / 1.232 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/1.035, allocations: 4 kB / 1.232 GB, free: 6.871 MB / 0.9512 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.0001156/1.035, allocations: 126.4 kB / 1.232 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/1.035, allocations: 19.91 kB / 1.232 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/1.035, allocations: 21.39 kB / 1.232 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.035, allocations: 0 / 1.232 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/1.035, allocations: 3.938 kB / 1.232 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.036, allocations: 0 / 1.232 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/1.036, allocations: 253.5 kB / 1.232 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.036, allocations: 288 / 1.232 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/1.036, allocations: 43.94 kB / 1.232 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.036, allocations: 4 kB / 1.232 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.036, allocations: 11.88 kB / 1.232 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.036, allocations: 0 / 1.232 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.036, allocations: 3.938 kB / 1.232 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/1.037, allocations: 359.2 kB / 1.233 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/1.037, allocations: 92.95 kB / 1.233 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/1.037, allocations: 3.984 kB / 1.233 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/1.037, allocations: 31.94 kB / 1.233 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/1.037, allocations: 23.92 kB / 1.233 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/1.037, allocations: 4 kB / 1.233 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001031/1.037, allocations: 132.3 kB / 1.233 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.653e-06/1.037, allocations: 0 / 1.233 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002477/1.038, allocations: 31.94 kB / 1.233 GB, free: 5.633 MB / 0.9512 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.0001687/1.038, allocations: 95.25 kB / 1.233 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007905/1.039, allocations: 227.7 kB / 1.233 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.039, allocations: 4 kB / 1.233 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003892/1.039, allocations: 123.8 kB / 1.233 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/1.039, allocations: 21.86 kB / 1.233 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/1.04, allocations: 311.1 kB / 1.234 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/1.04, allocations: 0.7273 MB / 1.234 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.885e-05/1.04, allocations: 24.41 kB / 1.234 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/1.04, allocations: 15.44 kB / 1.235 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of SimCode: time 3.8e-07/1.041, allocations: 4 kB / 1.235 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of Templates: time 0.004418/1.045, allocations: 1.916 MB / 1.236 GB, free: 2.145 MB / 0.9512 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