Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 217.1 kB / 22.24 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.678/1.678, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.181/3.181, allocations: 475.9 MB / 0.7699 GB, free: 4.812 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 72.38 kB / 1.117 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4178, allocations: 169.9 MB / 1.283 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002474/0.4203, allocations: 0.8535 MB / 1.284 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.4216, allocations: 0.8938 MB / 1.285 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.4217, allocations: 4 kB / 1.285 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.4218, allocations: 19.8 kB / 1.285 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.4219, allocations: 31.73 kB / 1.285 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.4221, allocations: 43.94 kB / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.4223, allocations: 131.6 kB / 1.285 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.4225, allocations: 33.52 kB / 1.285 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.4226, allocations: 59.83 kB / 1.285 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.4227, allocations: 75.67 kB / 1.285 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.4228, allocations: 16 kB / 1.285 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.803e-05/0.4228, allocations: 16 kB / 1.285 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.4229, allocations: 43.83 kB / 1.285 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.026e-05/0.423, allocations: 51.73 kB / 1.285 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.4232, allocations: 183.1 kB / 1.285 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4232, allocations: 0 / 1.285 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4232, allocations: 0 / 1.285 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4232, allocations: 0 / 1.285 GB, free: 1.258 MB / 0.9825 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.001044/0.4242, allocations: 445.4 kB / 1.286 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.4243, allocations: 8.031 kB / 1.286 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.4244, allocations: 16.84 kB / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.4246, allocations: 170.1 kB / 1.286 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.4246, allocations: 4.375 kB / 1.286 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4247, allocations: 8.375 kB / 1.286 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.4252, allocations: 186 kB / 1.286 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4252, allocations: 4.172 kB / 1.286 GB, free: 380 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4253, allocations: 3.938 kB / 1.286 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4253, allocations: 4 kB / 1.286 GB, free: 372 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/0.426, allocations: 227.7 kB / 1.286 GB, free: 144 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.4271, allocations: 432.1 kB / 1.287 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.4275, allocations: 146.4 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.4279, allocations: 112.8 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4279, allocations: 0 / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.428, allocations: 38.56 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.428, allocations: 0 / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001263/0.4293, allocations: 357.6 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.4293, allocations: 55.39 kB / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.4295, allocations: 184.8 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4295, allocations: 25.7 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4296, allocations: 116.1 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.4297, allocations: 35.72 kB / 1.288 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.4297, allocations: 25.72 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4299, allocations: 330.8 kB / 1.288 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.4303, allocations: 103.9 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.4307, allocations: 111.8 kB / 1.288 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.4314, allocations: 217.1 kB / 1.289 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4314, allocations: 0 / 1.289 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008158/0.4322, allocations: 257.3 kB / 1.289 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4322, allocations: 4 kB / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4322, allocations: 0 / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.4323, allocations: 4 kB / 1.289 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.4326, allocations: 47.94 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4326, allocations: 0 / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.4328, allocations: 43.78 kB / 1.289 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.4328, allocations: 4 kB / 1.289 GB, free: 13.43 MB / 0.9981 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.0001403/0.4329, allocations: 129.8 kB / 1.289 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.433, allocations: 15.91 kB / 1.289 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.433, allocations: 25.39 kB / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.433, allocations: 0 / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.433, allocations: 4 kB / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.433, allocations: 3.938 kB / 1.289 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.4333, allocations: 169.2 kB / 1.289 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4333, allocations: 4 kB / 1.289 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.4335, allocations: 47.94 kB / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4335, allocations: 0 / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4336, allocations: 0 / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4336, allocations: 0 / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4336, allocations: 0 / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008706/0.4344, allocations: 363.1 kB / 1.29 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.4345, allocations: 11.91 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.4345, allocations: 4 kB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4347, allocations: 36.12 kB / 1.29 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.4348, allocations: 11.98 kB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.4348, allocations: 7.938 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001185/0.4349, allocations: 136.3 kB / 1.29 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4349, allocations: 0 / 1.29 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002748/0.4352, allocations: 35.88 kB / 1.29 GB, free: 12.39 MB / 0.9981 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.0001528/0.4353, allocations: 95.19 kB / 1.29 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000834/0.4362, allocations: 219.8 kB / 1.29 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4362, allocations: 3.938 kB / 1.29 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.4366, allocations: 119.9 kB / 1.29 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.4369, allocations: 22.17 kB / 1.29 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.4376, allocations: 315.2 kB / 1.291 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.4378, allocations: 110.1 kB / 1.291 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.468e-05/0.4379, allocations: 24.41 kB / 1.291 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.4379, allocations: 15.44 kB / 1.291 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.4379, allocations: 0 / 1.291 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.006324/0.4443, allocations: 2.166 MB / 1.293 GB, free: 9.301 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.941902983933687]