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.001776/0.001776, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002891/0.002891, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.656/1.656, allocations: 230.6 MB / 256 MB, free: 7.996 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.549/3.549, allocations: 0.5049 GB / 0.81 GB, free: 22.07 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.002079/0.002079, allocations: 65.84 kB / 1.177 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4056, allocations: 180.2 MB / 1.353 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003019/0.4086, allocations: 1.36 MB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4106, allocations: 1.026 MB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.4108, allocations: 11.88 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.546e-05/0.4109, allocations: 27.61 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.411, allocations: 35.66 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.4112, allocations: 119.9 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.4116, allocations: 352.4 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.4119, allocations: 174.4 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.4121, allocations: 127.6 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.4123, allocations: 139.4 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.4124, allocations: 48 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.961e-05/0.4124, allocations: 44 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.4125, allocations: 83.77 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.4127, allocations: 151.3 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.4133, allocations: 0.5369 MB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4133, allocations: 0 / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4133, allocations: 4 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4133, allocations: 4 kB / 1.357 GB, free: 3.734 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009479/0.4142, allocations: 0.5017 MB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4143, allocations: 8.031 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.4143, allocations: 36.75 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.4147, allocations: 212.4 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.4147, allocations: 28.97 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.4147, allocations: 32.38 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.4154, allocations: 314.6 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4154, allocations: 4.188 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.4155, allocations: 15.92 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4155, allocations: 12 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.4162, allocations: 278.5 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.4176, allocations: 0.8354 MB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.4182, allocations: 251.4 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.4186, allocations: 133.2 kB / 1.36 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.4186, allocations: 4 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4186, allocations: 38.5 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.4186, allocations: 7.938 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001017/0.4196, allocations: 365.3 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.4197, allocations: 63.28 kB / 1.36 GB, free: 500 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.4198, allocations: 139.9 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.4199, allocations: 29.7 kB / 1.361 GB, free: 316 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.42, allocations: 172.5 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.061e-05/0.4201, allocations: 83.27 kB / 1.361 GB, free: 56 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.4202, allocations: 41.95 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4204, allocations: 330.8 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.4207, allocations: 92.41 kB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.421, allocations: 128.5 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.4215, allocations: 231.3 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4216, allocations: 0 / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006848/0.4222, allocations: 289.3 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4223, allocations: 8 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4223, allocations: 0 / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4223, allocations: 4 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.4226, allocations: 59.89 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4226, allocations: 7.938 kB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4228, allocations: 35.86 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.4228, allocations: 8 kB / 1.362 GB, free: 14.8 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.0001873/0.423, allocations: 145.8 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.423, allocations: 15.91 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.4231, allocations: 21.28 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4231, allocations: 7.984 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4231, allocations: 3.938 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.4231, allocations: 7.922 kB / 1.362 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.4235, allocations: 312.5 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4235, allocations: 4 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.4238, allocations: 59.95 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4238, allocations: 0 / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.4238, allocations: 8 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4238, allocations: 0 / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4238, allocations: 3.938 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.4245, allocations: 375.1 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.4246, allocations: 11.91 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.4246, allocations: 11.94 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.4248, allocations: 23.97 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.4248, allocations: 19.91 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.4248, allocations: 12 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.667e-05/0.4249, allocations: 109 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4249, allocations: 0 / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003026/0.4252, allocations: 63.73 kB / 1.363 GB, free: 13.55 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.0001638/0.4254, allocations: 103.2 kB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00066/0.4261, allocations: 227.8 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4261, allocations: 0 / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.4264, allocations: 124.7 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.4268, allocations: 28.11 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.4278, allocations: 468.3 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.4282, allocations: 0.7553 MB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.738e-05/0.4283, allocations: 21.42 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.4284, allocations: 15.44 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.4284, allocations: 0 / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of Templates: time 0.005803/0.4342, allocations: 1.991 MB / 1.367 GB, free: 9.816 MB / 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: 10.007861568126827]