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.001583/0.001583, allocations: 111.2 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.001734/0.001734, 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.515/1.515, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001977/0.001977, allocations: 71.88 kB / 1.136 GB, free: 12.42 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247/1.249, allocations: 173.6 MB / 1.305 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002156/1.251, allocations: 0.8536 MB / 1.306 GB, free: 32.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001136/1.252, allocations: 0.909 MB / 1.307 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/1.252, allocations: 0 / 1.307 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/1.252, allocations: 17.83 kB / 1.307 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/1.253, allocations: 14.38 kB / 1.307 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/1.253, allocations: 56.89 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/1.253, allocations: 134 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/1.253, allocations: 35.06 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/1.253, allocations: 57.97 kB / 1.307 GB, free: 31.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/1.253, allocations: 76.02 kB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/1.253, allocations: 13.91 kB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/1.253, allocations: 11.44 kB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/1.253, allocations: 40.42 kB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/1.253, allocations: 58.3 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/1.254, allocations: 144 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.254, allocations: 0 / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.254, allocations: 0 / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.289e-05/1.254, allocations: 0 / 1.308 GB, free: 31.84 MB / 1.061 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.0007772/1.254, allocations: 447.3 kB / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/1.255, allocations: 13 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/1.255, allocations: 17.25 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/1.255, allocations: 216.2 kB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/1.255, allocations: 11.38 kB / 1.308 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/1.255, allocations: 9.641 kB / 1.308 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/1.255, allocations: 147.9 kB / 1.309 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.255, allocations: 0 / 1.309 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/1.255, allocations: 6.812 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.255, allocations: 6.938 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/1.256, allocations: 163.4 kB / 1.309 GB, free: 31.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/1.256, allocations: 409.2 kB / 1.309 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/1.257, allocations: 167.9 kB / 1.309 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/1.257, allocations: 85.14 kB / 1.309 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/1.257, allocations: 6.797 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/1.257, allocations: 30.56 kB / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/1.257, allocations: 0 / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0008412/1.258, allocations: 287.5 kB / 1.31 GB, free: 30.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.258, allocations: 54.12 kB / 1.31 GB, free: 30.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.258, allocations: 148.7 kB / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/1.258, allocations: 29.7 kB / 1.31 GB, free: 30.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/1.258, allocations: 109.4 kB / 1.31 GB, free: 30.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/1.258, allocations: 26.62 kB / 1.31 GB, free: 30.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/1.258, allocations: 29.05 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/1.258, allocations: 325.2 kB / 1.31 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/1.259, allocations: 76.88 kB / 1.31 GB, free: 29.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/1.259, allocations: 70.48 kB / 1.311 GB, free: 29.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/1.259, allocations: 158.8 kB / 1.311 GB, free: 29.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.259, allocations: 4 kB / 1.311 GB, free: 29.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005069/1.26, allocations: 210.2 kB / 1.311 GB, free: 29.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.26, allocations: 5.75 kB / 1.311 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/1.26, allocations: 0 / 1.311 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.26, allocations: 2.938 kB / 1.311 GB, free: 29.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/1.26, allocations: 38.45 kB / 1.311 GB, free: 29.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.26, allocations: 3.188 kB / 1.311 GB, free: 29.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/1.26, allocations: 24.09 kB / 1.311 GB, free: 29.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/1.26, allocations: 9.641 kB / 1.311 GB, free: 29.67 MB / 1.061 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 7.959e-05/1.26, allocations: 121.3 kB / 1.311 GB, free: 29.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/1.26, allocations: 11.2 kB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/1.26, allocations: 22.62 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.26, allocations: 2.781 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.26, allocations: 0 / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.26, allocations: 0 / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/1.261, allocations: 237.6 kB / 1.311 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.261, allocations: 0 / 1.311 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/1.261, allocations: 40.56 kB / 1.311 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.261, allocations: 2.844 kB / 1.311 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/1.261, allocations: 11.73 kB / 1.311 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.261, allocations: 0 / 1.311 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.261, allocations: 0 / 1.311 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/1.261, allocations: 298.2 kB / 1.312 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/1.261, allocations: 98.41 kB / 1.312 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/1.262, allocations: 0 / 1.312 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/1.262, allocations: 18.62 kB / 1.312 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/1.262, allocations: 31.34 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/1.262, allocations: 6.906 kB / 1.312 GB, free: 28.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.626e-05/1.262, allocations: 116.2 kB / 1.312 GB, free: 28.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.262, allocations: 0 / 1.312 GB, free: 28.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002371/1.262, allocations: 25.58 kB / 1.312 GB, free: 28.9 MB / 1.061 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.0001125/1.262, allocations: 101.1 kB / 1.312 GB, free: 28.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005517/1.263, allocations: 175 kB / 1.312 GB, free: 28.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.263, allocations: 0 / 1.312 GB, free: 28.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/1.263, allocations: 97.41 kB / 1.312 GB, free: 28.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/1.263, allocations: 23.55 kB / 1.312 GB, free: 28.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/1.264, allocations: 260 kB / 1.313 GB, free: 28.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/1.264, allocations: 0.7046 MB / 1.313 GB, free: 27.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.662e-05/1.264, allocations: 22.34 kB / 1.313 GB, free: 27.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/1.264, allocations: 27.58 kB / 1.313 GB, free: 27.84 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.264, allocations: 0 / 1.313 GB, free: 27.84 MB / 1.061 GB Notification: Performance of Templates: time 0.00501/1.269, allocations: 2.441 MB / 1.316 GB, free: 27.68 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] 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: 10.15312244463712]