Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.002138/0.002138, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002812/0.002812, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.816 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.491/3.491, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [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.002024/0.002024, allocations: 69.36 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4599, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002885/0.4628, allocations: 1.208 MB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.4642, allocations: 1.022 MB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.4643, allocations: 4 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.671e-05/0.4644, allocations: 31.59 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.4645, allocations: 31.66 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.4647, allocations: 123.9 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.4651, allocations: 344.4 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.4654, allocations: 170.4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.4656, allocations: 135.5 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.4657, allocations: 115.4 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.4658, allocations: 44 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.156e-05/0.4658, allocations: 48 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.4659, allocations: 79.83 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.466, allocations: 123.4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.4666, allocations: 0.537 MB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4666, allocations: 7.984 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4666, allocations: 0 / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4666, allocations: 0 / 1.368 GB, free: 9.559 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009255/0.4675, allocations: 0.5017 MB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4676, allocations: 8.031 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.4676, allocations: 36.75 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.468, allocations: 214.6 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.468, allocations: 21.03 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.468, allocations: 32.38 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.4687, allocations: 314.5 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4687, allocations: 192 / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.4688, allocations: 19.94 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4688, allocations: 8 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.4695, allocations: 286.4 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.4706, allocations: 0.7033 MB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.4713, allocations: 242.7 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.4716, allocations: 133.1 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.4716, allocations: 8 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4717, allocations: 46.5 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.4717, allocations: 0 / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001006/0.4727, allocations: 359.5 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.4727, allocations: 55.41 kB / 1.371 GB, free: 6.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.4729, allocations: 147.1 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.4729, allocations: 33.7 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.473, allocations: 164.5 kB / 1.371 GB, free: 6.117 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.4731, allocations: 87.23 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.4732, allocations: 37.94 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4733, allocations: 326.8 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.4737, allocations: 104.3 kB / 1.372 GB, free: 5.555 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.474, allocations: 127.4 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.4745, allocations: 231.9 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4745, allocations: 0 / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006771/0.4752, allocations: 277.3 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4752, allocations: 8 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4752, allocations: 8.047 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4753, allocations: 3.938 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.4755, allocations: 55.97 kB / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.4755, allocations: 7.984 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.4757, allocations: 35.77 kB / 1.372 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4757, allocations: 8 kB / 1.372 GB, free: 4.785 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 0.0001524/0.4759, allocations: 149.8 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.4759, allocations: 23.91 kB / 1.372 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.476, allocations: 17.28 kB / 1.372 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.476, allocations: 4 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.476, allocations: 0 / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.476, allocations: 3.938 kB / 1.372 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.4763, allocations: 241.1 kB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4763, allocations: 0 / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.4766, allocations: 63.83 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4766, allocations: 0 / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.4766, allocations: 12 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4766, allocations: 3.938 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4766, allocations: 3.984 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.4773, allocations: 379.1 kB / 1.373 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.4773, allocations: 11.91 kB / 1.373 GB, free: 3.832 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.4773, allocations: 4 kB / 1.373 GB, free: 3.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.4775, allocations: 27.97 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.4776, allocations: 15.97 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.4776, allocations: 8 kB / 1.373 GB, free: 3.777 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.241e-05/0.4777, allocations: 112.9 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4777, allocations: 0 / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000289/0.478, allocations: 59.78 kB / 1.373 GB, free: 3.609 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001385/0.4781, allocations: 99.25 kB / 1.373 GB, free: 3.504 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006766/0.4788, allocations: 240.1 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4788, allocations: 0 / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.4791, allocations: 119.8 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.4795, allocations: 32.09 kB / 1.374 GB, free: 3.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.4805, allocations: 464 kB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.4807, allocations: 145.7 kB / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.886e-05/0.4808, allocations: 17.48 kB / 1.374 GB, free: 2.461 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.4808, allocations: 19.44 kB / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.4808, allocations: 0 / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of Templates: time 0.00558/0.4864, allocations: 2.012 MB / 1.376 GB, free: 500 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.88903608545661]