Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.0007643/0.0007643, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001822, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007022/0.0007022, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009538/0.001656, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9473/0.9473, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08156/1.029, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.354/2.354, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2408/2.595, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.22e-05, allocations: 10.19 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001342/0.001364, allocations: 0.7526 MB / 0.8197 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000678/0.002042, allocations: 0.8819 MB / 0.8205 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.002074, allocations: 0 / 0.8205 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.002097, allocations: 3.938 kB / 0.8205 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.892e-05/0.002135, allocations: 7.875 kB / 0.8206 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.717e-05/0.002203, allocations: 31.91 kB / 0.8206 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.644e-05/0.002269, allocations: 39.92 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.002347, allocations: 15.97 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.00244, allocations: 27.92 kB / 0.8207 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.002494, allocations: 23.95 kB / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.002514, allocations: 4 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.002525, allocations: 7.938 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.002544, allocations: 15.94 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.002565, allocations: 8 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.133e-05/0.002646, allocations: 23.86 kB / 0.8207 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.002658, allocations: 0 / 0.8207 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002659, allocations: 4 kB / 0.8207 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.002669, allocations: 0 / 0.8207 GB, free: 0.6289 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000496/0.003165, allocations: 260.5 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.003195, allocations: 8.031 kB / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.003226, allocations: 8.922 kB / 0.821 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.003312, allocations: 117.7 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.003333, allocations: 8.359 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.003344, allocations: 384 / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.003463, allocations: 70.86 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.003469, allocations: 3.938 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.003477, allocations: 4 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.00348, allocations: 4 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.003507, allocations: 8 kB / 0.8212 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.003748, allocations: 164.3 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.003822, allocations: 38.44 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.003845, allocations: 12.92 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.003861, allocations: 7.938 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.003883, allocations: 38.48 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.003884, allocations: 4 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001212/0.004005, allocations: 45.69 kB / 0.8215 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.004032, allocations: 55.34 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.15e-05/0.004084, allocations: 114.7 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.004096, allocations: 29.7 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.004124, allocations: 88.08 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.004142, allocations: 11.95 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.00417, allocations: 17.7 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.004238, allocations: 314.8 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.004251, allocations: 4 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.004262, allocations: 8 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.004298, allocations: 16.84 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.0043, allocations: 0 / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.493e-05/0.004355, allocations: 49.62 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.004368, allocations: 9.344 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.004372, allocations: 3.984 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.004382, allocations: 0 / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.004464, allocations: 12 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.004467, allocations: 3.984 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.004491, allocations: 8 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.004495, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.44e-05/0.004549, allocations: 109.8 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.004563, allocations: 4.266 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.004585, allocations: 15.98 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004587, allocations: 3.984 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.004589, allocations: 4 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.004592, allocations: 0 / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.629e-05/0.004678, allocations: 81.77 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.004679, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.004718, allocations: 19.92 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.004724, allocations: 4 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.004726, allocations: 3.938 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.00473, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004731, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.004732, allocations: 4 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.767e-05/0.00482, allocations: 147.5 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.00483, allocations: 3.938 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.004864, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.004902, allocations: 11.98 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.004904, allocations: 4 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.495e-05/0.004919, allocations: 16.83 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004919, allocations: 0 / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000114/0.005033, allocations: 8 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.592e-05/0.005109, allocations: 80.42 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.334e-05/0.005173, allocations: 20.84 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.005178, allocations: 3.938 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.005211, allocations: 20.84 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.005364, allocations: 45.72 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.005709, allocations: 128.7 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.387e-05/0.005743, allocations: 59.34 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.00577, allocations: 7.938 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.005827, allocations: 55.38 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.005827, allocations: 4 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of Templates: time 0.002384/0.008211, allocations: 0.9478 MB / 0.824 GB, free: 13.04 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1230287393555045]