Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.001049/0.001049, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.00131/0.00131, allocations: 168.7 kB / 25.04 MB, free: 9.203 MB / 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.9955/0.9955, allocations: 177.2 MB / 205.5 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.979/1.979, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0.6562 kB / 0.7762 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.471e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002204/0.002229, allocations: 0.901 MB / 0.777 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003481, allocations: 0.8984 MB / 0.7779 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.003552, allocations: 0 / 0.7779 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.669e-05/0.003609, allocations: 11.81 kB / 0.7779 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.00373, allocations: 23.86 kB / 0.778 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 8.98e-05/0.00382, allocations: 33.06 kB / 0.778 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.003983, allocations: 116.1 kB / 0.7781 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.004115, allocations: 45.92 kB / 0.7781 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.004253, allocations: 71.75 kB / 0.7782 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.004329, allocations: 39.88 kB / 0.7782 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.004355, allocations: 8 kB / 0.7783 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.004372, allocations: 12 kB / 0.7783 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.004401, allocations: 27.55 kB / 0.7783 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.00444, allocations: 31.91 kB / 0.7783 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004578, allocations: 71.73 kB / 0.7784 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.004581, allocations: 3.984 kB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.72e-07/0.004582, allocations: 3.938 kB / 0.7784 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004586, allocations: 0 / 0.7784 GB, free: 3.004 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004304/0.005016, allocations: 312.7 kB / 0.7787 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.005049, allocations: 9.344 kB / 0.7787 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.005076, allocations: 20.06 kB / 0.7787 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.005198, allocations: 133.6 kB / 0.7789 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.00521, allocations: 8.562 kB / 0.7789 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.005222, allocations: 4.375 kB / 0.7789 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.005366, allocations: 112 kB / 0.779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005373, allocations: 0 / 0.779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.00538, allocations: 0 / 0.779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005386, allocations: 7.938 kB / 0.779 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.005422, allocations: 18.55 kB / 0.779 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.005709, allocations: 237.1 kB / 0.7792 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.005827, allocations: 51.72 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.005855, allocations: 21.39 kB / 0.7793 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.005864, allocations: 0 / 0.7793 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.005883, allocations: 35.09 kB / 0.7793 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.005884, allocations: 0.8438 kB / 0.7793 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001231/0.006007, allocations: 61.61 kB / 0.7794 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.006036, allocations: 56.28 kB / 0.7794 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.006098, allocations: 134.8 kB / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.006107, allocations: 25.7 kB / 0.7796 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.006151, allocations: 105.8 kB / 0.7797 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.006165, allocations: 27.73 kB / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.006193, allocations: 21.72 kB / 0.7797 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.00627, allocations: 322.8 kB / 0.78 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.006286, allocations: 4.688 kB / 0.7801 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.006311, allocations: 25.69 kB / 0.7801 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.006353, allocations: 34.39 kB / 0.7801 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.006355, allocations: 1.781 kB / 0.7801 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.017e-05/0.006425, allocations: 73.55 kB / 0.7802 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.006436, allocations: 4 kB / 0.7802 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.00644, allocations: 0 / 0.7802 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.006448, allocations: 4 kB / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.006541, allocations: 21.11 kB / 0.7802 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.006546, allocations: 7.938 kB / 0.7802 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.006577, allocations: 13.52 kB / 0.7802 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006582, allocations: 4 kB / 0.7802 GB, free: 0.9727 MB / 0.7292 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 (9): * Single equations (assignments): 9 * 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.541e-05/0.006637, allocations: 113.8 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.006657, allocations: 16.73 kB / 0.7804 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.006681, allocations: 12.72 kB / 0.7804 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006683, allocations: 0.875 kB / 0.7804 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006686, allocations: 0 / 0.7804 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006689, allocations: 4.562 kB / 0.7804 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.006792, allocations: 93.81 kB / 0.7805 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006793, allocations: 0.7188 kB / 0.7805 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.006846, allocations: 21.14 kB / 0.7805 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.006847, allocations: 0 / 0.7805 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.006855, allocations: 11.94 kB / 0.7805 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006856, allocations: 1.469 kB / 0.7805 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006857, allocations: 0 / 0.7805 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.409e-05/0.006951, allocations: 151.9 kB / 0.7806 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.006959, allocations: 7.953 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.006969, allocations: 12.69 kB / 0.7807 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.007015, allocations: 11.98 kB / 0.7807 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.007049, allocations: 13.05 kB / 0.7807 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.007052, allocations: 0 / 0.7807 GB, free: 484 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.903e-05/0.007071, allocations: 27.36 kB / 0.7807 GB, free: 456 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007071, allocations: 0.5 kB / 0.7807 GB, free: 456 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001258/0.007197, allocations: 20.88 kB / 0.7807 GB, free: 436 kB / 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 (8): * Single equations (assignments): 8 * 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.414e-05/0.007271, allocations: 89.33 kB / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.192e-05/0.007353, allocations: 36.86 kB / 0.7809 GB, free: 296 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.007356, allocations: 1.031 kB / 0.7809 GB, free: 296 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.007382, allocations: 20.84 kB / 0.7809 GB, free: 272 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.007536, allocations: 25.39 kB / 0.7809 GB, free: 248 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.007838, allocations: 212.6 kB / 0.7811 GB, free: 8 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.007888, allocations: 63.34 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.914e-05/0.007927, allocations: 7.094 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.007991, allocations: 63.36 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.007992, allocations: 3.938 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.002752/0.01074, allocations: 1.234 MB / 0.7824 GB, free: 14.73 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.147369172424078]