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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001154/0.001155, allocations: 88.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 187.7 kB / 16.93 MB, free: 6.688 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.9 MB / 0.667 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003778, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8227, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001035/0.8238, allocations: 0.5945 MB / 0.9563 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.8249, allocations: 0.8759 MB / 0.9572 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.783e-05/0.8251, allocations: 1.375 kB / 0.9572 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.8252, allocations: 11.88 kB / 0.9572 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.8253, allocations: 29.41 kB / 0.9572 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.8255, allocations: 33.83 kB / 0.9572 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.8257, allocations: 130.6 kB / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.8258, allocations: 51.61 kB / 0.9574 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.8259, allocations: 40.91 kB / 0.9575 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.8261, allocations: 80.52 kB / 0.9575 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.8261, allocations: 5.75 kB / 0.9575 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.8262, allocations: 5.344 kB / 0.9575 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.8262, allocations: 36.09 kB / 0.9576 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.8263, allocations: 80.61 kB / 0.9577 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.8264, allocations: 120 kB / 0.9578 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8264, allocations: 4 kB / 0.9578 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8265, allocations: 3.938 kB / 0.9578 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8265, allocations: 1.406 kB / 0.9578 GB, free: 6.062 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.0008867/0.8274, allocations: 0.5042 MB / 0.9583 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8274, allocations: 12.72 kB / 0.9583 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.8275, allocations: 16.31 kB / 0.9583 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.8277, allocations: 215.5 kB / 0.9585 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.8277, allocations: 3.375 kB / 0.9585 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.8277, allocations: 10.44 kB / 0.9585 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.8283, allocations: 218.5 kB / 0.9587 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.8283, allocations: 192 / 0.9587 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.8283, allocations: 9.312 kB / 0.9587 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.8283, allocations: 1.906 kB / 0.9587 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/0.8292, allocations: 272.5 kB / 0.959 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.8302, allocations: 0.5463 MB / 0.9595 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.8307, allocations: 174.8 kB / 0.9597 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.8311, allocations: 146 kB / 0.9598 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.8311, allocations: 3.984 kB / 0.9598 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.8311, allocations: 35.94 kB / 0.9599 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.8311, allocations: 4.188 kB / 0.9599 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.00131/0.8324, allocations: 440.3 kB / 0.9603 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.8325, allocations: 60.41 kB / 0.9604 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.8327, allocations: 181.8 kB / 0.9605 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8327, allocations: 29.7 kB / 0.9606 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.8327, allocations: 119.7 kB / 0.9607 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.8328, allocations: 31.55 kB / 0.9607 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.8328, allocations: 16.47 kB / 0.9607 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.8329, allocations: 323.1 kB / 0.961 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.8333, allocations: 127.5 kB / 0.9612 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.8337, allocations: 136.7 kB / 0.9613 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.8345, allocations: 269.4 kB / 0.9615 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8345, allocations: 5.312 kB / 0.9615 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008559/0.8354, allocations: 314 kB / 0.9618 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8354, allocations: 7.125 kB / 0.9619 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8354, allocations: 0 / 0.9619 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.8354, allocations: 0.8438 kB / 0.9619 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.8357, allocations: 64.41 kB / 0.9619 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8357, allocations: 4.969 kB / 0.9619 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.8359, allocations: 50.61 kB / 0.962 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.836, allocations: 2.312 kB / 0.962 GB, free: 3.16 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.281e-05/0.8361, allocations: 135 kB / 0.9621 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.8361, allocations: 14.84 kB / 0.9621 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.244e-05/0.8362, allocations: 24.95 kB / 0.9621 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.8362, allocations: 1.094 kB / 0.9621 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.8362, allocations: 5.312 kB / 0.9621 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8362, allocations: 0 / 0.9621 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.8364, allocations: 245 kB / 0.9624 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8364, allocations: 3.938 kB / 0.9624 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.8367, allocations: 60.78 kB / 0.9624 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.8367, allocations: 0 / 0.9624 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.8367, allocations: 1.5 kB / 0.9624 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8367, allocations: 3.938 kB / 0.9624 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8367, allocations: 5.438 kB / 0.9624 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.8376, allocations: 417.7 kB / 0.9628 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.8376, allocations: 92.39 kB / 0.9629 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.8377, allocations: 1.281 kB / 0.9629 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.8379, allocations: 53.91 kB / 0.963 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.838, allocations: 12.45 kB / 0.963 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.838, allocations: 1.406 kB / 0.963 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.359e-05/0.8381, allocations: 142.7 kB / 0.9631 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8381, allocations: 0 / 0.9631 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000245/0.8383, allocations: 30.31 kB / 0.9632 GB, free: 2.211 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.0001247/0.8385, allocations: 97.56 kB / 0.9633 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008275/0.8393, allocations: 282.9 kB / 0.9635 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8393, allocations: 0 / 0.9635 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.8397, allocations: 146.9 kB / 0.9637 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.84, allocations: 22.52 kB / 0.9637 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.8406, allocations: 376.7 kB / 0.964 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.8408, allocations: 0.7245 MB / 0.9648 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.8409, allocations: 12.31 kB / 0.9648 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.8409, allocations: 0 / 0.9648 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.003814/0.8447, allocations: 2.012 MB / 0.9667 GB, free: 15.9 MB / 0.7325 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/jenkins1/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