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.001112/0.001112, allocations: 101.3 kB / 16.35 MB, free: 5.875 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.001194/0.001194, allocations: 200.1 kB / 17.3 MB, free: 5.516 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 14.98 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.338/2.338, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 68.12 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3682, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.00215/0.3704, allocations: 0.8863 MB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009714/0.3714, allocations: 0.88 MB / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.3715, allocations: 0 / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.3716, allocations: 19.8 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3717, allocations: 31.8 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.3719, allocations: 39.94 kB / 0.953 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.3721, allocations: 139.6 kB / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.3723, allocations: 45.34 kB / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.309e-05/0.3724, allocations: 63.77 kB / 0.9532 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3725, allocations: 83.67 kB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.3725, allocations: 16 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.3726, allocations: 12 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.3726, allocations: 51.81 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.3727, allocations: 63.59 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.3729, allocations: 167.4 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3729, allocations: 0 / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3729, allocations: 3.938 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3729, allocations: 0 / 0.9536 GB, free: 5.551 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.0008879/0.3738, allocations: 0.5025 MB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3739, allocations: 15.97 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3739, allocations: 16.75 kB / 0.9541 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.3742, allocations: 227.9 kB / 0.9543 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3742, allocations: 4.375 kB / 0.9543 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.3743, allocations: 16.38 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.3748, allocations: 175.8 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3748, allocations: 192 / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3748, allocations: 11.94 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3748, allocations: 4 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006814/0.3755, allocations: 219.7 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.3765, allocations: 0.5004 MB / 0.9552 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.377, allocations: 146.5 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.3773, allocations: 124.7 kB / 0.9555 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3774, allocations: 0 / 0.9555 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3774, allocations: 34.56 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3774, allocations: 0 / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001123/0.3785, allocations: 361.3 kB / 0.9558 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3786, allocations: 55.41 kB / 0.9559 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3788, allocations: 183.6 kB / 0.9561 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3788, allocations: 33.69 kB / 0.9561 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.3789, allocations: 123.8 kB / 0.9562 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.3789, allocations: 31.62 kB / 0.9563 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.379, allocations: 21.72 kB / 0.9563 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3791, allocations: 326.8 kB / 0.9566 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.3794, allocations: 103.9 kB / 0.9567 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.3798, allocations: 104.2 kB / 0.9568 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/0.3804, allocations: 216.8 kB / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3804, allocations: 0 / 0.957 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006738/0.3811, allocations: 257.2 kB / 0.9572 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3811, allocations: 11.94 kB / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3811, allocations: 0 / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3811, allocations: 0 / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.3814, allocations: 55.88 kB / 0.9573 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3814, allocations: 3.938 kB / 0.9573 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.3816, allocations: 35.86 kB / 0.9573 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3816, allocations: 0 / 0.9573 GB, free: 1.457 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.000126/0.3817, allocations: 129.8 kB / 0.9575 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3818, allocations: 7.906 kB / 0.9575 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.3818, allocations: 29.39 kB / 0.9575 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3819, allocations: 4 kB / 0.9575 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3819, allocations: 3.938 kB / 0.9575 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3819, allocations: 0 / 0.9575 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.3821, allocations: 249.4 kB / 0.9577 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3821, allocations: 0 / 0.9577 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.3824, allocations: 43.94 kB / 0.9578 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3824, allocations: 0 / 0.9578 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3824, allocations: 4 kB / 0.9578 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3824, allocations: 4 kB / 0.9578 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3824, allocations: 3.938 kB / 0.9578 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.3832, allocations: 355.2 kB / 0.9581 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.3832, allocations: 88.92 kB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3833, allocations: 7.984 kB / 0.9582 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.3835, allocations: 39.94 kB / 0.9583 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.3836, allocations: 19.86 kB / 0.9583 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3836, allocations: 0 / 0.9583 GB, free: 404 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3837, allocations: 148.1 kB / 0.9584 GB, free: 256 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3837, allocations: 0 / 0.9584 GB, free: 256 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000255/0.384, allocations: 23.91 kB / 0.9584 GB, free: 232 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.000178/0.3841, allocations: 107.2 kB / 0.9586 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007218/0.3849, allocations: 223.7 kB / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3849, allocations: 0 / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.3852, allocations: 119.9 kB / 0.9589 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3856, allocations: 23.92 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.3862, allocations: 299.5 kB / 0.9592 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3864, allocations: 0.7313 MB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.3865, allocations: 24.41 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.3866, allocations: 11.44 kB / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of SimCode: time 1.9e-07/0.3866, allocations: 0 / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of Templates: time 0.004281/0.3909, allocations: 1.899 MB / 0.9618 GB, free: 12.77 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 gbode -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