Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.001679, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002231/0.002231, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.524/1.524, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.611/2.611, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.89 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8456, allocations: 140.4 MB / 0.9489 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.00293/0.8486, allocations: 0.9361 MB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.8504, allocations: 0.8877 MB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.8506, allocations: 1.219 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.8507, allocations: 9.359 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.851, allocations: 23.8 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.8512, allocations: 30.47 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.8514, allocations: 135.2 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.8517, allocations: 61.45 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.8518, allocations: 49.39 kB / 0.951 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.852, allocations: 83.7 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.852, allocations: 8.75 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.852, allocations: 8.094 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.8521, allocations: 41.03 kB / 0.9511 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.8522, allocations: 60.59 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.8524, allocations: 168 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8524, allocations: 0 / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8524, allocations: 1.25 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.8525, allocations: 0 / 0.9514 GB, free: 7.363 MB / 0.7169 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.001178/0.8536, allocations: 0.5078 MB / 0.9519 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.8537, allocations: 9.812 kB / 0.9519 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.8538, allocations: 17.03 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.854, allocations: 218.3 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.854, allocations: 7.906 kB / 0.9521 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.8541, allocations: 9.469 kB / 0.9521 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.8546, allocations: 182 kB / 0.9523 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8546, allocations: 1.406 kB / 0.9523 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.8547, allocations: 7.938 kB / 0.9523 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.8547, allocations: 2.75 kB / 0.9523 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.8554, allocations: 220 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.8565, allocations: 0.5092 MB / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.857, allocations: 151.3 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.8574, allocations: 117.3 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.8574, allocations: 0 / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.8574, allocations: 35.75 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.425e-06/0.8575, allocations: 1.344 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001219/0.8587, allocations: 362 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.8587, allocations: 56.59 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.8589, allocations: 185.4 kB / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.8589, allocations: 27.08 kB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.859, allocations: 123 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.8591, allocations: 31.2 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.8591, allocations: 20.88 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.8592, allocations: 330.3 kB / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.8596, allocations: 100.4 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.8599, allocations: 112.6 kB / 0.9546 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.8606, allocations: 218.1 kB / 0.9548 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8606, allocations: 0 / 0.9548 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007428/0.8613, allocations: 257.4 kB / 0.955 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.8614, allocations: 7.562 kB / 0.955 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8614, allocations: 0 / 0.955 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8614, allocations: 0 / 0.955 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.8617, allocations: 52.41 kB / 0.9551 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.8617, allocations: 3.938 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.8619, allocations: 34.33 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.8619, allocations: 2.688 kB / 0.9551 GB, free: 4.496 MB / 0.7169 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.9e-05/0.862, allocations: 127.3 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.8621, allocations: 14.31 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.8621, allocations: 29.61 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8621, allocations: 1.438 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.8621, allocations: 7.938 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8622, allocations: 0 / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.8624, allocations: 249.2 kB / 0.9555 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8624, allocations: 0 / 0.9555 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.8627, allocations: 44.38 kB / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8627, allocations: 1.312 kB / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.8627, allocations: 4 kB / 0.9556 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8627, allocations: 1.281 kB / 0.9556 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8627, allocations: 3.938 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/0.8635, allocations: 354.9 kB / 0.9559 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.8635, allocations: 91.8 kB / 0.956 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.8636, allocations: 5.469 kB / 0.956 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.8638, allocations: 37.62 kB / 0.9561 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.8639, allocations: 19.84 kB / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.8639, allocations: 1.969 kB / 0.9561 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001037/0.864, allocations: 138.8 kB / 0.9562 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.864, allocations: 4 kB / 0.9562 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002565/0.8643, allocations: 29.75 kB / 0.9562 GB, free: 3.559 MB / 0.7169 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.000202/0.8645, allocations: 108.7 kB / 0.9564 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008078/0.8653, allocations: 222.2 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8653, allocations: 0.9688 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.8657, allocations: 120.9 kB / 0.9567 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.8661, allocations: 22.98 kB / 0.9567 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.8667, allocations: 342.9 kB / 0.957 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.867, allocations: 0.7248 MB / 0.9577 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.688e-05/0.8671, allocations: 21.78 kB / 0.9578 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.8671, allocations: 12.69 kB / 0.9578 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.8671, allocations: 3.938 kB / 0.9578 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.00464/0.8718, allocations: 1.566 MB / 0.9593 GB, free: 1.52 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches