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.001143/0.001147, allocations: 90.67 kB / 15.36 MB, free: 0.7344 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.01003/0.01003, allocations: 169.1 kB / 16.26 MB, free: 6.68 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.549/1.549, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.98/2.98, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 10.5 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3817, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.0009779/0.3827, allocations: 0.6013 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.3836, allocations: 0.8741 MB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.3837, allocations: 0 / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.182e-05/0.3838, allocations: 19.81 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.3839, allocations: 15.86 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.413e-05/0.384, allocations: 31.95 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3842, allocations: 139.5 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.3843, allocations: 57.31 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.3844, allocations: 43.78 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3845, allocations: 67.73 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.3845, allocations: 8 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.3846, allocations: 4 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.3846, allocations: 43.83 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.3847, allocations: 77.31 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3849, allocations: 159.6 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.3849, allocations: 0 / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3849, allocations: 0 / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.3849, allocations: 0 / 1.061 GB, free: 3.324 MB / 0.8106 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.0008514/0.3857, allocations: 0.5066 MB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3858, allocations: 12.03 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.3858, allocations: 20.66 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.386, allocations: 213.2 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.386, allocations: 8.375 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3861, allocations: 8.375 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.3866, allocations: 203 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3866, allocations: 192 / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.3867, allocations: 11.94 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3867, allocations: 7.984 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.3875, allocations: 275.7 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009663/0.3885, allocations: 0.547 MB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.389, allocations: 174.5 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/0.3894, allocations: 144.7 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3894, allocations: 4 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.3894, allocations: 30.56 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.3894, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001311/0.3908, allocations: 449.6 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3908, allocations: 55.34 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.391, allocations: 186.3 kB / 1.064 GB, free: 320 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.391, allocations: 29.64 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.3911, allocations: 124 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.3911, allocations: 27.56 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.3911, allocations: 17.7 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3913, allocations: 326.8 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.3917, allocations: 127.9 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.3921, allocations: 131.9 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.3929, allocations: 268.6 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3929, allocations: 4 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000837/0.3937, allocations: 313.2 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3938, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3938, allocations: 0 / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3938, allocations: 8 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.3941, allocations: 55.89 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3941, allocations: 3.938 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.3943, allocations: 47.94 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3943, allocations: 4 kB / 1.065 GB, free: 14.82 MB / 0.8262 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 9.898e-05/0.3944, allocations: 127.4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.3945, allocations: 19.81 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.3945, allocations: 25.41 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3945, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3946, allocations: 4.219 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3946, allocations: 7.984 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.3948, allocations: 245.5 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3948, allocations: 3.938 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3951, allocations: 67.94 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3951, allocations: 3.938 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3951, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3951, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3951, allocations: 7.875 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008874/0.396, allocations: 407.1 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.3961, allocations: 88.92 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.3961, allocations: 7.938 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.3963, allocations: 47.95 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.3964, allocations: 23.89 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.3964, allocations: 0 / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.3965, allocations: 144.1 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3965, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00024/0.3968, allocations: 20 kB / 1.066 GB, free: 13.5 MB / 0.8262 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.0001445/0.3969, allocations: 107.2 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008477/0.3978, allocations: 279.7 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3978, allocations: 0 / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.3982, allocations: 147.8 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.3986, allocations: 26.17 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.3991, allocations: 354.6 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3994, allocations: 0.7238 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.295e-05/0.3995, allocations: 20.42 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.3996, allocations: 11.44 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3996, allocations: 0 / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.003948/0.4035, allocations: 1.548 MB / 1.069 GB, free: 10.26 MB / 0.8262 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