Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.146/3.146, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 68.42 kB / 1.145 GB, free: 30.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4403, allocations: 174.9 MB / 1.316 GB, free: 9.574 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002802/0.4431, allocations: 0.8613 MB / 1.317 GB, free: 8.715 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.4445, allocations: 0.9013 MB / 1.318 GB, free: 7.801 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.4446, allocations: 3.938 kB / 1.318 GB, free: 7.797 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.4447, allocations: 19.86 kB / 1.318 GB, free: 7.777 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.4449, allocations: 19.8 kB / 1.318 GB, free: 7.758 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.4451, allocations: 51.94 kB / 1.318 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.4453, allocations: 135.7 kB / 1.318 GB, free: 7.574 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4455, allocations: 29.05 kB / 1.318 GB, free: 7.543 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.4456, allocations: 63.83 kB / 1.318 GB, free: 7.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.4458, allocations: 75.72 kB / 1.318 GB, free: 7.406 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.4458, allocations: 16 kB / 1.318 GB, free: 7.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.583e-05/0.4458, allocations: 12 kB / 1.318 GB, free: 7.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.4459, allocations: 39.84 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.446, allocations: 55.72 kB / 1.318 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.4462, allocations: 147.3 kB / 1.318 GB, free: 7.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4462, allocations: 0 / 1.318 GB, free: 7.141 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4462, allocations: 0 / 1.318 GB, free: 7.141 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.4462, allocations: 0 / 1.318 GB, free: 7.141 MB / 1.014 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.0009068/0.4471, allocations: 365.8 kB / 1.319 GB, free: 6.754 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4472, allocations: 8.031 kB / 1.319 GB, free: 6.746 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.4472, allocations: 20.84 kB / 1.319 GB, free: 6.727 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.4475, allocations: 150.9 kB / 1.319 GB, free: 6.555 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4475, allocations: 12.06 kB / 1.319 GB, free: 6.543 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.4475, allocations: 11.94 kB / 1.319 GB, free: 6.531 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.448, allocations: 143.1 kB / 1.319 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.448, allocations: 0 / 1.319 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.448, allocations: 11.92 kB / 1.319 GB, free: 6.375 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.448, allocations: 8 kB / 1.319 GB, free: 6.367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.4485, allocations: 155.8 kB / 1.319 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007109/0.4493, allocations: 379.6 kB / 1.32 GB, free: 5.801 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008138/0.4501, allocations: 174.5 kB / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.4503, allocations: 84.83 kB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4504, allocations: 8 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.4504, allocations: 30.56 kB / 1.32 GB, free: 5.488 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.4504, allocations: 0 / 1.32 GB, free: 5.488 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0009072/0.4513, allocations: 281.4 kB / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4513, allocations: 55.41 kB / 1.32 GB, free: 5.141 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.4515, allocations: 148.3 kB / 1.32 GB, free: 4.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4515, allocations: 29.7 kB / 1.32 GB, free: 4.945 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.4516, allocations: 108 kB / 1.32 GB, free: 4.836 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.4517, allocations: 27.8 kB / 1.321 GB, free: 4.809 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.4517, allocations: 29.7 kB / 1.321 GB, free: 4.773 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4519, allocations: 326.8 kB / 1.321 GB, free: 4.445 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.4521, allocations: 71.92 kB / 1.321 GB, free: 4.375 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.4524, allocations: 75.86 kB / 1.321 GB, free: 4.301 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.4529, allocations: 157.3 kB / 1.321 GB, free: 4.145 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4529, allocations: 3.938 kB / 1.321 GB, free: 4.141 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005731/0.4535, allocations: 213.4 kB / 1.321 GB, free: 3.926 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4535, allocations: 4 kB / 1.321 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4535, allocations: 0 / 1.321 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4535, allocations: 0 / 1.321 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.4538, allocations: 35.95 kB / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4538, allocations: 0 / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.4539, allocations: 35.8 kB / 1.321 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4539, allocations: 4 kB / 1.321 GB, free: 3.848 MB / 1.014 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.000129/0.4541, allocations: 129.8 kB / 1.322 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.4541, allocations: 19.89 kB / 1.322 GB, free: 3.691 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.4542, allocations: 12.72 kB / 1.322 GB, free: 3.676 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4542, allocations: 7.984 kB / 1.322 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4542, allocations: 0 / 1.322 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4542, allocations: 0 / 1.322 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4545, allocations: 208.6 kB / 1.322 GB, free: 3.422 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4545, allocations: 0 / 1.322 GB, free: 3.422 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.4547, allocations: 43.89 kB / 1.322 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4547, allocations: 0 / 1.322 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4547, allocations: 4 kB / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4547, allocations: 0 / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4547, allocations: 0 / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/0.4553, allocations: 299.3 kB / 1.322 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.4554, allocations: 23.77 kB / 1.322 GB, free: 3.043 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.4554, allocations: 4 kB / 1.322 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4556, allocations: 19.97 kB / 1.322 GB, free: 3.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4557, allocations: 27.97 kB / 1.322 GB, free: 2.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.4557, allocations: 11.98 kB / 1.322 GB, free: 2.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.748e-05/0.4558, allocations: 112.9 kB / 1.322 GB, free: 2.871 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4558, allocations: 4 kB / 1.322 GB, free: 2.867 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002479/0.456, allocations: 23.94 kB / 1.322 GB, free: 2.844 MB / 1.014 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.0001425/0.4562, allocations: 99.72 kB / 1.322 GB, free: 2.738 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005998/0.4568, allocations: 167.8 kB / 1.323 GB, free: 2.574 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4568, allocations: 0 / 1.323 GB, free: 2.574 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.4571, allocations: 95.91 kB / 1.323 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.4574, allocations: 21.48 kB / 1.323 GB, free: 2.461 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.458, allocations: 241.9 kB / 1.323 GB, free: 2.199 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4584, allocations: 0.7119 MB / 1.324 GB, free: 1.461 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.4585, allocations: 16.44 kB / 1.324 GB, free: 1.445 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.4586, allocations: 31.41 kB / 1.324 GB, free: 1.414 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.4586, allocations: 4 kB / 1.324 GB, free: 1.41 MB / 1.014 GB Notification: Performance of Templates: time 0.006153/0.4647, allocations: 2.457 MB / 1.326 GB, free: 14.96 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.187113580293953]