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.001691/0.001691, allocations: 105.8 kB / 16.37 MB, free: 6.453 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.001647/0.001647, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.533/1.533, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.36/2.36, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 66.05 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002372/0.3182, allocations: 0.8824 MB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3193, allocations: 0.8761 MB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.3194, allocations: 4 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3195, allocations: 19.8 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.3196, allocations: 31.72 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.3198, allocations: 39.95 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3199, allocations: 135.6 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.3201, allocations: 53.34 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.3202, allocations: 59.81 kB / 0.9532 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.3204, allocations: 83.67 kB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.3204, allocations: 12 kB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.038e-05/0.3204, allocations: 12 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.3205, allocations: 43.89 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.3206, allocations: 67.53 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3208, allocations: 171.3 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3208, allocations: 4 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3208, allocations: 0 / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.3208, allocations: 7.938 kB / 0.9536 GB, free: 5.527 MB / 0.7325 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.0009739/0.3218, allocations: 0.5025 MB / 0.9541 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3219, allocations: 8.031 kB / 0.9541 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.3219, allocations: 16.75 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.3222, allocations: 227.9 kB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3222, allocations: 8.375 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3223, allocations: 12.31 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.3228, allocations: 183.9 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3228, allocations: 192 / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.3228, allocations: 7.938 kB / 0.9545 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3228, allocations: 4 kB / 0.9545 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.3235, allocations: 219.8 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009491/0.3245, allocations: 0.5043 MB / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.3249, allocations: 142.5 kB / 0.9554 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.3253, allocations: 124.9 kB / 0.9555 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3253, allocations: 0 / 0.9555 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3253, allocations: 42.56 kB / 0.9555 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.3253, allocations: 0 / 0.9555 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001136/0.3265, allocations: 361.1 kB / 0.9559 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3265, allocations: 51.41 kB / 0.9559 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3267, allocations: 187.6 kB / 0.9561 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3267, allocations: 25.7 kB / 0.9561 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.3268, allocations: 123.9 kB / 0.9562 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.3269, allocations: 27.64 kB / 0.9563 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.3269, allocations: 21.72 kB / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3271, allocations: 326.8 kB / 0.9566 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.3274, allocations: 103.9 kB / 0.9567 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.3277, allocations: 104.3 kB / 0.9568 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.3283, allocations: 220.7 kB / 0.957 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3283, allocations: 4 kB / 0.957 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006933/0.329, allocations: 253.2 kB / 0.9572 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3291, allocations: 5.875 kB / 0.9572 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3291, allocations: 4 kB / 0.9573 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3291, allocations: 0 / 0.9573 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.3294, allocations: 55.88 kB / 0.9573 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3294, allocations: 3.938 kB / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3296, allocations: 31.86 kB / 0.9573 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3296, allocations: 4 kB / 0.9573 GB, free: 1.441 MB / 0.7325 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.0001154/0.3297, allocations: 129.8 kB / 0.9575 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3298, allocations: 11.91 kB / 0.9575 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.3298, allocations: 25.39 kB / 0.9575 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3298, allocations: 0 / 0.9575 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3298, allocations: 3.938 kB / 0.9575 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3298, allocations: 0 / 0.9575 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.3301, allocations: 249.4 kB / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3301, allocations: 3.938 kB / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.3304, allocations: 47.94 kB / 0.9578 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3304, allocations: 4 kB / 0.9578 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3304, allocations: 4 kB / 0.9578 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3304, allocations: 0 / 0.9578 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3304, allocations: 3.938 kB / 0.9578 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.3312, allocations: 359.2 kB / 0.9581 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.3313, allocations: 92.92 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3313, allocations: 3.984 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.3315, allocations: 35.95 kB / 0.9583 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.3316, allocations: 15.92 kB / 0.9583 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3316, allocations: 4 kB / 0.9583 GB, free: 384 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.726e-05/0.3317, allocations: 140.1 kB / 0.9584 GB, free: 244 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3317, allocations: 0 / 0.9584 GB, free: 244 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002437/0.332, allocations: 27.91 kB / 0.9585 GB, free: 216 kB / 0.7325 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.0001697/0.3321, allocations: 107.2 kB / 0.9586 GB, free: 100 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007605/0.3329, allocations: 223.7 kB / 0.9588 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3329, allocations: 0 / 0.9588 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.3333, allocations: 123.8 kB / 0.9589 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3336, allocations: 27.97 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.3343, allocations: 295.5 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3346, allocations: 0.7275 MB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.675e-05/0.3347, allocations: 24.41 kB / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.3348, allocations: 11.44 kB / 0.9599 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.3348, allocations: 3.938 kB / 0.9599 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.004481/0.3393, allocations: 1.913 MB / 0.9618 GB, free: 12.73 MB / 0.7481 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 -s cvode -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