Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001862/0.001862, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002403/0.002403, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.791/1.791, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.433/3.433, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002104/0.002104, allocations: 67.75 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4599, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002319/0.4622, allocations: 0.8572 MB / 1.326 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4636, allocations: 0.8899 MB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.54e-05/0.4637, allocations: 4 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.4638, allocations: 19.8 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.4639, allocations: 35.77 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.4641, allocations: 35.91 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.4643, allocations: 139.6 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.4645, allocations: 37.52 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.4646, allocations: 55.78 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.4647, allocations: 79.72 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.4648, allocations: 12 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.834e-05/0.4648, allocations: 20 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.4649, allocations: 43.83 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.4649, allocations: 55.67 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.4652, allocations: 179.2 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4652, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4652, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4652, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 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.001/0.4662, allocations: 445.4 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4663, allocations: 8.031 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.4663, allocations: 16.84 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.4666, allocations: 162.2 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.4666, allocations: 8.312 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.4666, allocations: 8.375 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.4672, allocations: 182.9 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4672, allocations: 192 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.4672, allocations: 7.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4672, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.468, allocations: 219.8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.469, allocations: 440 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.4695, allocations: 138.5 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.4699, allocations: 120.9 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4699, allocations: 3.938 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.4699, allocations: 34.55 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.4699, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.001293/0.4712, allocations: 361.4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4713, allocations: 55.41 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4715, allocations: 186.3 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.4715, allocations: 25.7 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.4716, allocations: 116.1 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.4716, allocations: 35.69 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.4717, allocations: 25.72 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4719, allocations: 330.8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.4723, allocations: 103.9 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.4727, allocations: 103.9 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007636/0.4734, allocations: 216.6 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4734, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008359/0.4743, allocations: 257.9 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4743, allocations: 4 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4743, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.4743, allocations: 4.094 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.4746, allocations: 55.81 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.4746, allocations: 4 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.4748, allocations: 35.83 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4748, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 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.0001356/0.475, allocations: 126.4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.475, allocations: 19.91 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.4751, allocations: 25.39 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4751, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4751, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4751, allocations: 11.94 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.4753, allocations: 169.2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4753, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.4756, allocations: 47.94 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4756, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4756, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4756, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4756, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.4765, allocations: 359.1 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.4765, allocations: 11.91 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.4765, allocations: 4 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4767, allocations: 35.95 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.4768, allocations: 15.97 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.4768, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001508/0.477, allocations: 139.1 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.477, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002675/0.4772, allocations: 35.83 kB / 1.332 GB, free: 10.47 MB / 1.029 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.0001621/0.4774, allocations: 95.25 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008639/0.4783, allocations: 223.7 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4783, allocations: 288 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.4787, allocations: 127.8 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.479, allocations: 17.88 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.4797, allocations: 299.4 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4798, allocations: 110.1 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.596e-05/0.4799, allocations: 24.41 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.48, allocations: 19.44 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.48, allocations: 3.938 kB / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of Templates: time 0.005629/0.4856, allocations: 2.154 MB / 1.335 GB, free: 7.398 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.068088909611106]