Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001471/0.001471, 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.001662/0.001662, allocations: 212 kB / 22.24 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.723/1.723, allocations: 230.6 MB / 256 MB, free: 7.793 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.354/3.354, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.002173/0.002173, allocations: 66.58 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4493, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002714/0.452, allocations: 0.8059 MB / 1.326 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.4537, allocations: 0.925 MB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.4538, allocations: 3.938 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.4539, allocations: 7.875 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.4541, allocations: 19.8 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.4543, allocations: 59.92 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.4546, allocations: 131.7 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.4548, allocations: 29.3 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4549, allocations: 59.83 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.4551, allocations: 71.73 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.4552, allocations: 15.94 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.88e-05/0.4552, allocations: 12 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.4553, allocations: 39.83 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.4553, allocations: 43.78 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.4556, allocations: 155.3 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4556, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4556, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4556, allocations: 0 / 1.328 GB, free: 15.46 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00101/0.4567, allocations: 373.7 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4567, allocations: 8.031 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.4568, allocations: 12.89 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.457, allocations: 156.3 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.457, allocations: 12.12 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.4571, allocations: 4 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.4575, allocations: 155.2 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4575, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4576, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.4576, allocations: 7.938 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.4581, allocations: 159.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.4589, allocations: 336.2 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.4597, allocations: 170.6 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.46, allocations: 84.81 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.46, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4601, allocations: 30.56 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.4601, allocations: 4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000995/0.4611, allocations: 281.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.4611, allocations: 51.41 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4613, allocations: 152.5 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4613, allocations: 29.7 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.4614, allocations: 112.3 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.4614, allocations: 23.84 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.4615, allocations: 25.7 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.4617, allocations: 326.8 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.462, allocations: 75.86 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.4623, allocations: 83.86 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.4628, allocations: 152.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4628, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000635/0.4635, allocations: 201.4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4635, allocations: 7.938 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4635, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4635, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.4638, allocations: 39.94 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4638, allocations: 8 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.464, allocations: 19.91 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.464, allocations: 4 kB / 1.331 GB, free: 12.24 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001411/0.4641, allocations: 126.3 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.4641, allocations: 15.84 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.4642, allocations: 24.64 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4642, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4642, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4642, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.4644, allocations: 161.3 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4644, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.4647, allocations: 35.95 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4647, allocations: 288 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.4647, allocations: 11.92 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4647, allocations: 0 / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4647, allocations: 3.938 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.4654, allocations: 315.2 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.4654, allocations: 11.89 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.4654, allocations: 3.938 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4656, allocations: 23.97 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.4658, allocations: 31.95 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4658, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.514e-05/0.4659, allocations: 112.9 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4659, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002486/0.4661, allocations: 23.94 kB / 1.332 GB, free: 11.29 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001628/0.4663, allocations: 103.2 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006336/0.4669, allocations: 167.8 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4669, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.4673, allocations: 95.91 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.4676, allocations: 12 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.4682, allocations: 243.2 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.4683, allocations: 97.05 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.4685, allocations: 24.42 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.4686, allocations: 23.89 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4686, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of Templates: time 0.006664/0.4752, allocations: 2.655 MB / 1.335 GB, free: 7.852 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.989210182800889]