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.001644/0.001644, allocations: 103.6 kB / 15.98 MB, free: 5.891 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.001896/0.001896, allocations: 190.9 kB / 16.91 MB, free: 5.746 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 4.387 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.394/2.394, allocations: 390.2 MB / 0.665 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 0.8127 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.644, allocations: 140.4 MB / 0.9498 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001763/0.6458, allocations: 0.9315 MB / 0.9507 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00072/0.6466, allocations: 0.8852 MB / 0.9516 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.6466, allocations: 2.188 kB / 0.9516 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.816e-05/0.6467, allocations: 13.23 kB / 0.9516 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.6468, allocations: 19.91 kB / 0.9516 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.589e-05/0.6469, allocations: 34.62 kB / 0.9516 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.6471, allocations: 136.7 kB / 0.9518 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.6472, allocations: 64.78 kB / 0.9518 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.6473, allocations: 59.05 kB / 0.9519 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.6474, allocations: 83.77 kB / 0.952 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.6475, allocations: 11.72 kB / 0.952 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.166e-05/0.6475, allocations: 14.09 kB / 0.952 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.6475, allocations: 42.17 kB / 0.952 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.6476, allocations: 64.72 kB / 0.9521 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.6477, allocations: 130.7 kB / 0.9522 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6477, allocations: 0 / 0.9522 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6477, allocations: 5.312 kB / 0.9522 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6477, allocations: 0 / 0.9522 GB, free: 7.426 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.0007565/0.6485, allocations: 0.504 MB / 0.9527 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6485, allocations: 10.62 kB / 0.9527 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.6486, allocations: 15.81 kB / 0.9527 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6487, allocations: 222.6 kB / 0.953 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.6488, allocations: 4.375 kB / 0.953 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.6488, allocations: 9.875 kB / 0.953 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.6493, allocations: 185.6 kB / 0.9531 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.6493, allocations: 192 / 0.9531 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.6493, allocations: 9.094 kB / 0.9531 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6493, allocations: 2.812 kB / 0.9532 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.65, allocations: 222.4 kB / 0.9534 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.6509, allocations: 0.5065 MB / 0.9539 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.6513, allocations: 154.5 kB / 0.954 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.6516, allocations: 114 kB / 0.9541 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.6516, allocations: 0 / 0.9541 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.6517, allocations: 47.84 kB / 0.9542 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.6517, allocations: 0 / 0.9542 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001105/0.6528, allocations: 359.1 kB / 0.9545 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.6528, allocations: 56.84 kB / 0.9546 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.6529, allocations: 177.2 kB / 0.9547 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.6529, allocations: 26.67 kB / 0.9548 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.653, allocations: 127.9 kB / 0.9549 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.653, allocations: 31.27 kB / 0.9549 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.6531, allocations: 24.22 kB / 0.9549 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.485e-05/0.6531, allocations: 322.5 kB / 0.9552 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.6535, allocations: 104.1 kB / 0.9553 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.6538, allocations: 107.3 kB / 0.9554 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/0.6544, allocations: 221.9 kB / 0.9556 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6544, allocations: 0 / 0.9556 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006931/0.6551, allocations: 257.7 kB / 0.9559 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6551, allocations: 8.922 kB / 0.9559 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6552, allocations: 1.5 kB / 0.9559 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.6552, allocations: 0 / 0.9559 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.6554, allocations: 40.3 kB / 0.9559 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.6554, allocations: 9.156 kB / 0.956 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.6556, allocations: 29.39 kB / 0.956 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.6556, allocations: 2.812 kB / 0.956 GB, free: 4.562 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 7.273e-05/0.6557, allocations: 131.4 kB / 0.9561 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.6558, allocations: 15.97 kB / 0.9561 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.6558, allocations: 23.52 kB / 0.9561 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6558, allocations: 1.094 kB / 0.9561 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6558, allocations: 13.09 kB / 0.9562 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6558, allocations: 0 / 0.9562 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.656, allocations: 252.4 kB / 0.9564 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.6561, allocations: 1.406 kB / 0.9564 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.6563, allocations: 43.08 kB / 0.9564 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6563, allocations: 2.094 kB / 0.9564 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.6563, allocations: 4 kB / 0.9564 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6563, allocations: 3.984 kB / 0.9565 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6563, allocations: 5.75 kB / 0.9565 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007047/0.657, allocations: 360.9 kB / 0.9568 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.6571, allocations: 92.45 kB / 0.9569 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.6571, allocations: 5.094 kB / 0.9569 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.6573, allocations: 30.27 kB / 0.9569 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.6574, allocations: 16.33 kB / 0.9569 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.6574, allocations: 1.438 kB / 0.9569 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.884e-05/0.6575, allocations: 142.7 kB / 0.9571 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6575, allocations: 4 kB / 0.9571 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002429/0.6577, allocations: 29.38 kB / 0.9571 GB, free: 3.613 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.0001015/0.6578, allocations: 102.4 kB / 0.9572 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007148/0.6585, allocations: 231.1 kB / 0.9574 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6586, allocations: 0 / 0.9574 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.6589, allocations: 117.9 kB / 0.9575 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.6592, allocations: 21.52 kB / 0.9576 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.6598, allocations: 382.6 kB / 0.9579 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.6599, allocations: 0.7272 MB / 0.9586 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.66, allocations: 13.88 kB / 0.9586 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.66, allocations: 0 / 0.9586 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of Templates: time 0.00373/0.6637, allocations: 2.03 MB / 0.9606 GB, free: 1.297 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/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