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.001377/0.001377, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001608/0.001608, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.422/3.422, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002067/0.002067, allocations: 66.39 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4324, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002267/0.4346, allocations: 0.8238 MB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.4359, allocations: 0.9133 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.436, allocations: 4 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.4361, allocations: 15.8 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.4363, allocations: 19.8 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.4365, allocations: 55.88 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.4367, allocations: 131.7 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.4368, allocations: 29.3 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.4369, allocations: 67.75 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.4371, allocations: 75.72 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.4371, allocations: 16 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.197e-05/0.4371, allocations: 12 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.4372, allocations: 35.91 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.4373, allocations: 51.72 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4375, allocations: 139.4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4375, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.196e-05/0.4375, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4375, allocations: 3.938 kB / 1.329 GB, free: 14.58 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.0009399/0.4384, allocations: 377.7 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4385, allocations: 12.03 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.4385, allocations: 8.891 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.4388, allocations: 148.2 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.4388, allocations: 12.12 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.4388, allocations: 8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.4393, allocations: 153.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4393, allocations: 7.938 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.4393, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4393, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.4399, allocations: 155.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006736/0.4405, allocations: 336.2 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.4415, allocations: 170.5 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.4417, allocations: 80.91 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.4418, allocations: 7.875 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4418, allocations: 34.56 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.4418, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0009864/0.4428, allocations: 285.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.4428, allocations: 51.41 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.443, allocations: 152.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.443, allocations: 25.7 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.4431, allocations: 119.9 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.4431, allocations: 19.86 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.4432, allocations: 25.7 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4433, allocations: 322.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.4436, allocations: 75.92 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.4439, allocations: 79.92 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.4445, allocations: 152.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4445, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006336/0.4451, allocations: 209.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4451, allocations: 11.94 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4451, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4451, allocations: 96 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.4454, allocations: 43.89 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4454, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.4456, allocations: 27.91 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.4457, allocations: 0 / 1.332 GB, free: 11.35 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.0001608/0.4458, allocations: 126.4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.4459, allocations: 15.84 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.4459, allocations: 16.72 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4459, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4459, allocations: 4 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4459, allocations: 3.984 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.4462, allocations: 153.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4462, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.4464, allocations: 47.89 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4464, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4464, allocations: 3.938 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4464, allocations: 3.984 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4464, allocations: 7.984 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.4472, allocations: 303.2 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.4472, allocations: 15.88 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4472, allocations: 7.875 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.4474, allocations: 23.97 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.4475, allocations: 31.95 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4476, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001023/0.4477, allocations: 112.9 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4477, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000262/0.4479, allocations: 20 kB / 1.333 GB, free: 10.41 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.0001657/0.4481, allocations: 103.2 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006586/0.4487, allocations: 167.8 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4488, allocations: 288 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.4491, allocations: 99.8 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.4494, allocations: 22.73 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.45, allocations: 238 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.4502, allocations: 97.05 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000112/0.4503, allocations: 20.42 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.4504, allocations: 23.42 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4504, allocations: 3.938 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of Templates: time 0.006551/0.4569, allocations: 2.678 MB / 1.337 GB, free: 6.941 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 -s cvode -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/jenkins1/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.56664183200337]