Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008535/0.0008535, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.002061, allocations: 449.8 kB / 10.44 MB, free: 252 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.001007/0.001007, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009489/0.001955, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9796/0.9796, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09635/1.076, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.973/1.973, allocations: 378.3 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5259/2.498, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7296 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.985e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001777/0.001806, allocations: 0.7702 MB / 0.7304 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.003082, allocations: 0.8758 MB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.003119, allocations: 3.156 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.003148, allocations: 7.922 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.003193, allocations: 5.312 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.342e-05/0.003267, allocations: 27.84 kB / 0.7313 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.593e-05/0.003353, allocations: 50.2 kB / 0.7314 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.003445, allocations: 12.81 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.003546, allocations: 34.03 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.003609, allocations: 14.67 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.003632, allocations: 4 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.003641, allocations: 5.344 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.00366, allocations: 14.3 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.00368, allocations: 9.75 kB / 0.7314 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.082e-05/0.003771, allocations: 27.7 kB / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.003784, allocations: 0 / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003785, allocations: 1 kB / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.003798, allocations: 0 / 0.7315 GB, free: 2.578 MB / 0.698 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.000395/0.004193, allocations: 253.2 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.004226, allocations: 8.031 kB / 0.7317 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.004256, allocations: 6.375 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.00436, allocations: 133.6 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.004382, allocations: 5 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.004394, allocations: 384 / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.00452, allocations: 63.84 kB / 0.7319 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004528, allocations: 7.938 kB / 0.7319 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.004536, allocations: 1.688 kB / 0.7319 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004542, allocations: 0 / 0.7319 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.83e-05/0.00457, allocations: 13.39 kB / 0.7319 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.004803, allocations: 168.2 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.573e-05/0.004879, allocations: 31.09 kB / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.004899, allocations: 14.3 kB / 0.7321 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.004912, allocations: 3.938 kB / 0.7321 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.004933, allocations: 34.56 kB / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.004934, allocations: 1.969 kB / 0.7322 GB, free: 1.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001195/0.005054, allocations: 53.8 kB / 0.7322 GB, free: 1.707 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.005079, allocations: 51.41 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.005134, allocations: 115.3 kB / 0.7324 GB, free: 1.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.005144, allocations: 27.3 kB / 0.7324 GB, free: 1.488 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.005174, allocations: 88.73 kB / 0.7325 GB, free: 1.398 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.005191, allocations: 11.95 kB / 0.7325 GB, free: 1.387 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.005218, allocations: 17.7 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.005295, allocations: 315.5 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.005309, allocations: 4 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.005323, allocations: 13.28 kB / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.005353, allocations: 17.72 kB / 0.7329 GB, free: 1.012 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.005356, allocations: 4 kB / 0.7329 GB, free: 1.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.227e-05/0.005408, allocations: 55.16 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.005421, allocations: 4.938 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.005425, allocations: 0 / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005437, allocations: 0 / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.005518, allocations: 13.33 kB / 0.7329 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.00552, allocations: 0 / 0.7329 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.005542, allocations: 8.656 kB / 0.7329 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005547, allocations: 4.641 kB / 0.733 GB, free: 0.9219 MB / 0.698 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.473e-05/0.005601, allocations: 111 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.005615, allocations: 3.938 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.005637, allocations: 12 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005638, allocations: 0.9688 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.005639, allocations: 1.312 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.005642, allocations: 0 / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.005725, allocations: 82.61 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.005727, allocations: 7.938 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.005758, allocations: 12.52 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-06/0.005764, allocations: 1.031 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005766, allocations: 3.938 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.00577, allocations: 0 / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.005772, allocations: 8.891 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005773, allocations: 0 / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.04e-05/0.005854, allocations: 136.8 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.005865, allocations: 7.938 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.005898, allocations: 1.312 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.005936, allocations: 16.47 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.005938, allocations: 0 / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.522e-05/0.005954, allocations: 18.41 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005954, allocations: 0 / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001085/0.006062, allocations: 7.938 kB / 0.7334 GB, free: 464 kB / 0.698 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.703e-05/0.006139, allocations: 85.06 kB / 0.7334 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.571e-05/0.006215, allocations: 21.55 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.006222, allocations: 7.984 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/0.00625, allocations: 13.94 kB / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.006415, allocations: 43.66 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.006773, allocations: 128.7 kB / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.006807, allocations: 55.36 kB / 0.7337 GB, free: 44 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.006835, allocations: 6.594 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.006907, allocations: 59.36 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.006908, allocations: 0 / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.00242/0.009328, allocations: 0.9676 MB / 0.7347 GB, free: 15.05 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter/Buildings_12_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.101878322660923]