Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.0009175/0.0009175, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001275/0.001275, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 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.9891/0.9891, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.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.888/1.888, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/3.006e-05, allocations: 2.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002703/0.002733, allocations: 1.174 MB / 0.7612 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.004262, allocations: 1.025 MB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.004374, allocations: 4.766 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/0.004443, allocations: 28.8 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.004602, allocations: 42.05 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.004761, allocations: 92.41 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.005069, allocations: 316.2 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.005331, allocations: 141.9 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.00557, allocations: 188.5 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.005687, allocations: 79.77 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.005737, allocations: 32.56 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.005771, allocations: 37.72 kB / 0.7631 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.005831, allocations: 71.75 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.005909, allocations: 79.81 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.00616, allocations: 191.2 kB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006162, allocations: 0 / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006163, allocations: 1.188 kB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.006169, allocations: 4 kB / 0.7634 GB, free: 3.168 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006012/0.006771, allocations: 437.6 kB / 0.7638 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.006813, allocations: 12.56 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.006879, allocations: 36.91 kB / 0.7639 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.007099, allocations: 174.3 kB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.007119, allocations: 17.03 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.007155, allocations: 28.88 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.007471, allocations: 188 kB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.007483, allocations: 1.219 kB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.007504, allocations: 12.38 kB / 0.7643 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.007514, allocations: 8.312 kB / 0.7643 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.007681, allocations: 65.19 kB / 0.7643 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.008506, allocations: 470.3 kB / 0.7648 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.00881, allocations: 133.1 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.008874, allocations: 36.84 kB / 0.765 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.00889, allocations: 4.75 kB / 0.765 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.008918, allocations: 30.56 kB / 0.765 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.00892, allocations: 4.875 kB / 0.765 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002375/0.009158, allocations: 116.1 kB / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.009195, allocations: 52.06 kB / 0.7652 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.009297, allocations: 144.5 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.009316, allocations: 29.7 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.009401, allocations: 148.6 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.009449, allocations: 71.41 kB / 0.7655 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.009512, allocations: 33.7 kB / 0.7656 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.009619, allocations: 326.8 kB / 0.7659 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-05/0.009658, allocations: 20.86 kB / 0.7659 GB, free: 492 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.009713, allocations: 35.56 kB / 0.7659 GB, free: 452 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.009817, allocations: 74.7 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.00982, allocations: 0 / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001562/0.009976, allocations: 101.9 kB / 0.7661 GB, free: 268 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.009989, allocations: 4 kB / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.009995, allocations: 0 / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01001, allocations: 4 kB / 0.7661 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.01018, allocations: 46.66 kB / 0.7662 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01018, allocations: 4 kB / 0.7662 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.01025, allocations: 23.88 kB / 0.7662 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.01026, allocations: 0 / 0.7662 GB, free: 188 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.35e-05/0.01035, allocations: 121.8 kB / 0.7663 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.01039, allocations: 15.92 kB / 0.7663 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.01043, allocations: 22.84 kB / 0.7663 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01043, allocations: 4 kB / 0.7663 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01043, allocations: 0 / 0.7663 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01044, allocations: 0 / 0.7663 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.01067, allocations: 150.6 kB / 0.7665 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01067, allocations: 0 / 0.7665 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.01082, allocations: 52.77 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01082, allocations: 0 / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.01083, allocations: 0.7812 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.01083, allocations: 0 / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01083, allocations: 2.062 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.01103, allocations: 203.4 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.01105, allocations: 15.84 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.01107, allocations: 4 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.01116, allocations: 11.98 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.01122, allocations: 20.59 kB / 0.7668 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.01123, allocations: 4 kB / 0.7668 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.01127, allocations: 27.2 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01127, allocations: 0 / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000297/0.01157, allocations: 56.28 kB / 0.7669 GB, free: 15.45 MB / 0.7292 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 (20): * Single equations (assignments): 20 * 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.000129/0.01169, allocations: 87.5 kB / 0.7669 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.01187, allocations: 74.66 kB / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.01187, allocations: 0 / 0.767 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.01195, allocations: 48.77 kB / 0.7671 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.01223, allocations: 43.78 kB / 0.7671 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.01291, allocations: 387.1 kB / 0.7675 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.105e-05/0.01297, allocations: 75.83 kB / 0.7675 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.566e-05/0.01306, allocations: 19.73 kB / 0.7676 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.01317, allocations: 79.36 kB / 0.7676 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/0.01317, allocations: 0 / 0.7676 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.004526/0.01769, allocations: 1.717 MB / 0.7693 GB, free: 13.01 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.951466255821288]