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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009325/0.0009328, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001152/0.001152, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.863/2.863, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003977, allocations: 16.66 kB / 0.9021 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3608, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.0009844/0.3619, allocations: 0.5666 MB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.363, allocations: 0.878 MB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-05/0.3631, allocations: 0 / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.3632, allocations: 15.81 kB / 1.059 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3633, allocations: 23.84 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.3635, allocations: 27.95 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3637, allocations: 123.6 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.3638, allocations: 41.52 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.3639, allocations: 51.77 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3641, allocations: 71.73 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.3641, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.3641, allocations: 8 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.3642, allocations: 27.91 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.3643, allocations: 49.58 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.3645, allocations: 115.7 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3645, allocations: 0 / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3645, allocations: 0 / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3645, allocations: 0 / 1.06 GB, free: 3.289 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.001006/0.3655, allocations: 0.5145 MB / 1.06 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3655, allocations: 12.03 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.3656, allocations: 15.72 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3658, allocations: 206.8 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3658, allocations: 11.95 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3659, allocations: 11.94 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.3664, allocations: 210.7 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3664, allocations: 3.938 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3665, allocations: 4 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3665, allocations: 4 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/0.3672, allocations: 275.7 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009949/0.3682, allocations: 0.5395 MB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.3687, allocations: 174.5 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.369, allocations: 148.9 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.3691, allocations: 3.984 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3691, allocations: 34.56 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3691, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001204/0.3703, allocations: 445.1 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3704, allocations: 51.41 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3705, allocations: 180.5 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.3706, allocations: 33.69 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.3707, allocations: 116 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3707, allocations: 31.55 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.3707, allocations: 4 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3708, allocations: 330.8 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3712, allocations: 123.9 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.3716, allocations: 135.9 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.3719, allocations: 136.4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3719, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007793/0.3727, allocations: 317.2 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3728, allocations: 4 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3728, allocations: 0 / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3728, allocations: 3.938 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.3731, allocations: 59.89 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3731, allocations: 4 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3733, allocations: 43.95 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3733, allocations: 4 kB / 1.064 GB, free: 14.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.3734, allocations: 133.8 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.3735, allocations: 19.8 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.3735, allocations: 17.41 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3735, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3736, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3736, allocations: 0 / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3738, allocations: 261.4 kB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3738, allocations: 0 / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.3741, allocations: 59.95 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3741, allocations: 3.938 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3741, allocations: 0 / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3741, allocations: 0 / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3741, allocations: 0 / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.3749, allocations: 427 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.375, allocations: 88.92 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.375, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3752, allocations: 47.95 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.3753, allocations: 15.97 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3753, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.577e-05/0.3754, allocations: 135.3 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3754, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002561/0.3757, allocations: 28 kB / 1.065 GB, free: 13.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.3759, allocations: 107.2 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.3767, allocations: 279.8 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3767, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.3771, allocations: 147.8 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3774, allocations: 24.12 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.378, allocations: 338.5 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3783, allocations: 0.7278 MB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.597e-05/0.3784, allocations: 20.42 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.3785, allocations: 11.44 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3785, allocations: 0 / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of Templates: time 0.004257/0.3828, allocations: 1.495 MB / 1.068 GB, free: 10.47 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