Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001321/0.001321, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001258/0.001258, allocations: 186 kB / 20.78 MB, free: 1.547 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.577/1.577, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.88 kB / 1.107 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.197, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002592/1.199, allocations: 0.8629 MB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001502/1.201, allocations: 0.9078 MB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/1.201, allocations: 1.438 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/1.201, allocations: 10.77 kB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/1.201, allocations: 20.11 kB / 1.274 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/1.201, allocations: 54.92 kB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/1.202, allocations: 129.5 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/1.202, allocations: 35.3 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.721e-05/1.202, allocations: 55.69 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/1.202, allocations: 79.91 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/1.202, allocations: 11.34 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.109e-05/1.202, allocations: 12.75 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/1.202, allocations: 41.3 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/1.202, allocations: 57.81 kB / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/1.202, allocations: 141.4 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.202, allocations: 0 / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.445e-06/1.202, allocations: 0.9062 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.202, allocations: 0 / 1.274 GB, free: 6.367 MB / 0.9981 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.0009043/1.203, allocations: 448.5 kB / 1.275 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.203, allocations: 9.812 kB / 1.275 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/1.203, allocations: 15.34 kB / 1.275 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/1.204, allocations: 211.9 kB / 1.275 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/1.204, allocations: 11.78 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/1.204, allocations: 9.156 kB / 1.275 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000457/1.204, allocations: 149.8 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.204, allocations: 0.9688 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.204, allocations: 4 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/1.204, allocations: 2.594 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/1.205, allocations: 158.9 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/1.206, allocations: 411.5 kB / 1.276 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/1.206, allocations: 173.2 kB / 1.276 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/1.207, allocations: 80.92 kB / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/1.207, allocations: 1.375 kB / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/1.207, allocations: 33.5 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/1.207, allocations: 0 / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0009867/1.208, allocations: 287.3 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/1.208, allocations: 53 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/1.208, allocations: 149.2 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/1.208, allocations: 30.67 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/1.208, allocations: 107.8 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/1.208, allocations: 38.17 kB / 1.277 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/1.208, allocations: 31.42 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/1.208, allocations: 321.3 kB / 1.277 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/1.208, allocations: 71.81 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/1.209, allocations: 80.22 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/1.209, allocations: 157.8 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.209, allocations: 0 / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005685/1.21, allocations: 215.9 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.21, allocations: 5.188 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.21, allocations: 0 / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.21, allocations: 1.188 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/1.21, allocations: 48.75 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.21, allocations: 0.9062 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/1.21, allocations: 23 kB / 1.278 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/1.21, allocations: 4.688 kB / 1.278 GB, free: 4.199 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: 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 9.281e-05/1.21, allocations: 124.6 kB / 1.278 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/1.21, allocations: 12.92 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/1.21, allocations: 15.25 kB / 1.278 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/1.21, allocations: 4.875 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.21, allocations: 0.5625 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.21, allocations: 0.8438 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/1.211, allocations: 233.3 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.211, allocations: 0 / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/1.211, allocations: 40.88 kB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.211, allocations: 0 / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/1.211, allocations: 3.609 kB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/1.211, allocations: 0.9062 kB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.211, allocations: 7.938 kB / 1.278 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/1.211, allocations: 293.8 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/1.211, allocations: 93.14 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/1.211, allocations: 1.5 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/1.212, allocations: 30 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.212, allocations: 31.59 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/1.212, allocations: 4.75 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.481e-05/1.212, allocations: 111.2 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.212, allocations: 1 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002527/1.212, allocations: 26.05 kB / 1.279 GB, free: 3.43 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: 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.0001492/1.212, allocations: 107.6 kB / 1.279 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006518/1.213, allocations: 167.7 kB / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.213, allocations: 0.6875 kB / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/1.213, allocations: 100.4 kB / 1.279 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/1.214, allocations: 27.92 kB / 1.279 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/1.214, allocations: 249.6 kB / 1.279 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/1.214, allocations: 0.7037 MB / 1.28 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001112/1.215, allocations: 27.98 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/1.215, allocations: 26.31 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.215, allocations: 0 / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of Templates: time 0.008585/1.223, allocations: 2.452 MB / 1.282 GB, free: 2.199 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.817961155436933]