Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001402/0.001402, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00152/0.00152, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.465/3.465, allocations: 0.49 GB / 0.7959 GB, free: 35.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.00205/0.00205, allocations: 69.11 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3902, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002807/0.3931, allocations: 1.19 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3945, allocations: 1.034 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.3946, allocations: 4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.942e-05/0.3947, allocations: 31.59 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.3948, allocations: 31.66 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.395, allocations: 127.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.3954, allocations: 344.5 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.3957, allocations: 174.4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3959, allocations: 135.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.396, allocations: 147.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.3961, allocations: 44 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.634e-05/0.3961, allocations: 48 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.3962, allocations: 79.77 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3963, allocations: 123.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.3969, allocations: 0.5331 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3969, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3969, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3969, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 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.0009711/0.3979, allocations: 0.5056 MB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3979, allocations: 8.031 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.398, allocations: 32.75 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3983, allocations: 206.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3983, allocations: 25.03 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.3984, allocations: 28.38 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.399, allocations: 322.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3991, allocations: 192 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.3991, allocations: 15.94 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3991, allocations: 8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.3998, allocations: 282.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.4011, allocations: 0.7033 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.4018, allocations: 262.7 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.4021, allocations: 131.6 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.4021, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4021, allocations: 42.5 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/0.4021, allocations: 3.984 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0009818/0.4031, allocations: 371.5 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.4032, allocations: 51.41 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.4033, allocations: 143.5 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.4033, allocations: 29.7 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4035, allocations: 172.5 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.4035, allocations: 87.22 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.4036, allocations: 41.94 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4038, allocations: 322.8 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.4041, allocations: 104.4 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.4043, allocations: 121.1 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.4049, allocations: 237 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4049, allocations: 0 / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000664/0.4056, allocations: 281.3 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4056, allocations: 4 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4056, allocations: 0 / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4056, allocations: 4 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.4059, allocations: 63.89 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4059, allocations: 8.062 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.4061, allocations: 35.8 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.4061, allocations: 4 kB / 1.335 GB, free: 8.191 MB / 1.029 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.000157/0.4063, allocations: 150.3 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.4063, allocations: 15.91 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.618e-05/0.4064, allocations: 25.27 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4064, allocations: 4 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4064, allocations: 0 / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4064, allocations: 3.938 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.4067, allocations: 241.1 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4067, allocations: 3.938 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.407, allocations: 55.97 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.407, allocations: 7.984 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.407, allocations: 7.938 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.407, allocations: 3.938 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.407, allocations: 0 / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007027/0.4077, allocations: 378.2 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.4077, allocations: 11.91 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.4077, allocations: 7.984 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.4079, allocations: 15.98 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.408, allocations: 23.95 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.408, allocations: 8 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.781e-05/0.4081, allocations: 112.2 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4081, allocations: 0 / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000289/0.4084, allocations: 59.78 kB / 1.337 GB, free: 7.023 MB / 1.029 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.0001223/0.4085, allocations: 99.19 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006599/0.4091, allocations: 231.9 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4092, allocations: 0 / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.4095, allocations: 126.4 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.4099, allocations: 39.97 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.4108, allocations: 468 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.4109, allocations: 149.7 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.136e-05/0.411, allocations: 13.48 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.4111, allocations: 19.44 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4111, allocations: 0 / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of Templates: time 0.005549/0.4166, allocations: 2.091 MB / 1.34 GB, free: 3.793 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.580951074996847]