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.001743/0.001743, allocations: 100.1 kB / 15.88 MB, free: 12 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.002052/0.002052, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.586 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.483/2.483, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6956, allocations: 140.4 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.001957/0.6976, allocations: 0.9361 MB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007954/0.6984, allocations: 0.8793 MB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.6985, allocations: 2.562 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.6986, allocations: 17.05 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.6988, allocations: 19.5 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.6989, allocations: 35 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.699, allocations: 127.4 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.6992, allocations: 59.45 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.6993, allocations: 62.22 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.6994, allocations: 75.33 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.6994, allocations: 8.469 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.322e-05/0.6995, allocations: 8.25 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.6995, allocations: 45.53 kB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.6996, allocations: 60.38 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.6997, allocations: 119.5 kB / 0.952 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6997, allocations: 4 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6997, allocations: 1.375 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6997, allocations: 0 / 0.952 GB, free: 7.293 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.0008562/0.7006, allocations: 0.4996 MB / 0.9525 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.7006, allocations: 13.61 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.7007, allocations: 17 kB / 0.9525 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.7009, allocations: 227.1 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.7009, allocations: 3.125 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.7009, allocations: 9.906 kB / 0.9527 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.7014, allocations: 186.2 kB / 0.9529 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7015, allocations: 192 / 0.9529 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.7015, allocations: 12.67 kB / 0.9529 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.7015, allocations: 1.688 kB / 0.9529 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.7022, allocations: 224 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.7031, allocations: 0.5051 MB / 0.9536 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.7036, allocations: 155.1 kB / 0.9538 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.7039, allocations: 113.1 kB / 0.9539 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.704, allocations: 1.125 kB / 0.9539 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.704, allocations: 40 kB / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.704, allocations: 0 / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001124/0.7051, allocations: 362.9 kB / 0.9543 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.7051, allocations: 56.56 kB / 0.9543 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.7053, allocations: 182.7 kB / 0.9545 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.7053, allocations: 25.7 kB / 0.9545 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.7054, allocations: 119.4 kB / 0.9546 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.7054, allocations: 35.7 kB / 0.9547 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.7054, allocations: 20.03 kB / 0.9547 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.7055, allocations: 326 kB / 0.955 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.7059, allocations: 104.3 kB / 0.9551 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.7063, allocations: 108.4 kB / 0.9552 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007804/0.7071, allocations: 216.6 kB / 0.9554 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7072, allocations: 0 / 0.9554 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007237/0.7079, allocations: 263 kB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7079, allocations: 4.344 kB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.7079, allocations: 1.156 kB / 0.9557 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7079, allocations: 3.984 kB / 0.9557 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.7082, allocations: 44.7 kB / 0.9557 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.7082, allocations: 5.5 kB / 0.9557 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.7084, allocations: 32.83 kB / 0.9558 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.7085, allocations: 6.781 kB / 0.9558 GB, free: 4.418 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 8.584e-05/0.7085, allocations: 130.6 kB / 0.9559 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.7086, allocations: 13.94 kB / 0.9559 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.7086, allocations: 26.05 kB / 0.9559 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7086, allocations: 1.188 kB / 0.9559 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7087, allocations: 5.094 kB / 0.9559 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.7087, allocations: 4 kB / 0.9559 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.7089, allocations: 248.7 kB / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7089, allocations: 0 / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.7091, allocations: 45.3 kB / 0.9562 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7091, allocations: 0 / 0.9562 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.7091, allocations: 3.5 kB / 0.9562 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7091, allocations: 0 / 0.9562 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7092, allocations: 3.938 kB / 0.9562 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.7099, allocations: 352.5 kB / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.7099, allocations: 97.23 kB / 0.9566 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.7099, allocations: 4 kB / 0.9567 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.7102, allocations: 30.8 kB / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.7102, allocations: 15.92 kB / 0.9567 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.7102, allocations: 1.469 kB / 0.9567 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.7103, allocations: 143.4 kB / 0.9568 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7103, allocations: 0 / 0.9568 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002477/0.7106, allocations: 29.59 kB / 0.9569 GB, free: 3.492 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.0001089/0.7107, allocations: 110 kB / 0.957 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007289/0.7114, allocations: 223.1 kB / 0.9572 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7114, allocations: 3.938 kB / 0.9572 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.7118, allocations: 113.7 kB / 0.9573 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.7122, allocations: 28.55 kB / 0.9573 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.7127, allocations: 379.8 kB / 0.9577 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.7129, allocations: 0.7245 MB / 0.9584 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.713, allocations: 15.31 kB / 0.9584 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.713, allocations: 1.312 kB / 0.9584 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.00356/0.7166, allocations: 2.021 MB / 0.9604 GB, free: 1.168 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