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.001689/0.001689, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001854/0.001854, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.409/3.409, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002169/0.002169, allocations: 71.66 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3623, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002126/0.3644, allocations: 0.7169 MB / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3656, allocations: 0.8709 MB / 1.356 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.3656, allocations: 4 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.3657, allocations: 3.938 kB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.3657, allocations: 3.938 kB / 1.356 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.3659, allocations: 15.98 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.366, allocations: 51.84 kB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3661, allocations: 15.97 kB / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.3662, allocations: 19.94 kB / 1.356 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.3663, allocations: 27.84 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3663, allocations: 4 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.3663, allocations: 8 kB / 1.356 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3663, allocations: 11.98 kB / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.3664, allocations: 19.86 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.3665, allocations: 47.8 kB / 1.356 GB, free: 6.152 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3665, allocations: 0 / 1.356 GB, free: 6.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3665, allocations: 0 / 1.356 GB, free: 6.152 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3665, allocations: 0 / 1.356 GB, free: 6.152 MB / 1.045 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.0005413/0.367, allocations: 278.2 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3671, allocations: 8.031 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.3671, allocations: 8.922 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3672, allocations: 126.4 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3673, allocations: 384 / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3673, allocations: 4.375 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3675, allocations: 69.53 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3675, allocations: 0 / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3675, allocations: 7.938 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3675, allocations: 4 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.3677, allocations: 43.95 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.3682, allocations: 267.8 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3684, allocations: 62.48 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3685, allocations: 32.91 kB / 1.357 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.3685, allocations: 0 / 1.357 GB, free: 5.145 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3686, allocations: 38.56 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3686, allocations: 0 / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004446/0.369, allocations: 101.6 kB / 1.357 GB, free: 4.992 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.369, allocations: 55.34 kB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/0.3691, allocations: 109.8 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3692, allocations: 29.7 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.3692, allocations: 92.17 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3692, allocations: 15.86 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3693, allocations: 17.72 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3694, allocations: 322.8 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.983e-05/0.3695, allocations: 19.98 kB / 1.358 GB, free: 4.297 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.3696, allocations: 23.97 kB / 1.358 GB, free: 4.273 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3698, allocations: 60.81 kB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3698, allocations: 0 / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002374/0.37, allocations: 85.92 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.37, allocations: 7.938 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3701, allocations: 0 / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3701, allocations: 0 / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3702, allocations: 15.98 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3702, allocations: 11.98 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.3703, allocations: 4 kB / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3703, allocations: 3.938 kB / 1.358 GB, free: 4.078 MB / 1.045 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 9.11e-05/0.3704, allocations: 118.4 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.3704, allocations: 7.984 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.3704, allocations: 4 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3704, allocations: 0 / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3704, allocations: 8 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3704, allocations: 0 / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3706, allocations: 152.7 kB / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3706, allocations: 0 / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.3707, allocations: 15.98 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3707, allocations: 0 / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3707, allocations: 0 / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3707, allocations: 0 / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3707, allocations: 0 / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.371, allocations: 195.3 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.3711, allocations: 4 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3711, allocations: 0 / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.3712, allocations: 7.984 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.3712, allocations: 11.98 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3712, allocations: 0 / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.3713, allocations: 91.58 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3713, allocations: 0 / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002311/0.3715, allocations: 7.938 kB / 1.358 GB, free: 3.395 MB / 1.045 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 0.0001131/0.3716, allocations: 102.4 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3719, allocations: 55.89 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3719, allocations: 0 / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.372, allocations: 31.97 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.3723, allocations: 4.234 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.3727, allocations: 159.3 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3731, allocations: 0.6807 MB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.3731, allocations: 15.42 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.3731, allocations: 0 / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of Templates: time 0.002452/0.3756, allocations: 0.8132 MB / 1.36 GB, free: 1.48 MB / 1.045 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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: 11.531410564988619]