Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009855/0.0009855, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0009836/0.0009836, allocations: 165 kB / 24.17 MB, free: 324 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 1.027/1.027, allocations: 177.2 MB / 204.6 MB, free: 5.477 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 2.069/2.069, allocations: 389.6 MB / 0.6354 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.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0.9844 kB / 0.7752 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.413e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002039/0.002063, allocations: 1.208 MB / 0.7764 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003202, allocations: 1.027 MB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.003285, allocations: 7.344 kB / 0.7774 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.00334, allocations: 27.61 kB / 0.7774 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.003461, allocations: 40.84 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.003571, allocations: 87.92 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.003799, allocations: 323.3 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.003992, allocations: 150.6 kB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.004164, allocations: 183.3 kB / 0.7782 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.004246, allocations: 79.7 kB / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.00428, allocations: 36 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.346e-05/0.004304, allocations: 32 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.004343, allocations: 67.8 kB / 0.7784 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/0.004394, allocations: 79.83 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.004596, allocations: 195.2 kB / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004599, allocations: 0 / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.01e-07/0.0046, allocations: 4 kB / 0.7787 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.004604, allocations: 3.812 kB / 0.7787 GB, free: 1.836 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005689/0.005173, allocations: 440.4 kB / 0.7791 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.005207, allocations: 12.92 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.00525, allocations: 40.84 kB / 0.7791 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.005415, allocations: 168 kB / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.005432, allocations: 17.03 kB / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.00545, allocations: 28.38 kB / 0.7793 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.005664, allocations: 186.1 kB / 0.7795 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005673, allocations: 4.125 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.005686, allocations: 12.38 kB / 0.7795 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.005694, allocations: 4.375 kB / 0.7795 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.00578, allocations: 64.5 kB / 0.7796 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.006311, allocations: 470.8 kB / 0.78 GB, free: 360 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.006493, allocations: 122.5 kB / 0.7802 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.006538, allocations: 37.83 kB / 0.7802 GB, free: 188 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.006551, allocations: 7.984 kB / 0.7802 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.006573, allocations: 39.16 kB / 0.7802 GB, free: 132 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.006575, allocations: 0 / 0.7802 GB, free: 132 kB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0001746/0.006749, allocations: 118.5 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.006787, allocations: 55.41 kB / 0.7804 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.006859, allocations: 142.5 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.006873, allocations: 33.7 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.006929, allocations: 144.6 kB / 0.7807 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.006963, allocations: 75.36 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.007001, allocations: 30.64 kB / 0.7808 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.007073, allocations: 322.8 kB / 0.7811 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.0071, allocations: 20.48 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.00714, allocations: 38.5 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.266e-05/0.007213, allocations: 71.66 kB / 0.7812 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.007216, allocations: 1.531 kB / 0.7812 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001097/0.007325, allocations: 103.6 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.007338, allocations: 4 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007343, allocations: 0.5625 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.007355, allocations: 4 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.007514, allocations: 50.38 kB / 0.7814 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007519, allocations: 4 kB / 0.7814 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.007563, allocations: 23.92 kB / 0.7814 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.00757, allocations: 0 / 0.7814 GB, free: 14.85 MB / 0.7448 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 7.346e-05/0.007644, allocations: 122.8 kB / 0.7815 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.007667, allocations: 11.98 kB / 0.7816 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.007696, allocations: 21.69 kB / 0.7816 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.007699, allocations: 3.938 kB / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.0077, allocations: 5.281 kB / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.007704, allocations: 3.984 kB / 0.7816 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.007848, allocations: 145.7 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.007849, allocations: 0.875 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.007959, allocations: 52.78 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.00796, allocations: 0 / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.007967, allocations: 4.562 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.007968, allocations: 0 / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007969, allocations: 1.562 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.008097, allocations: 199.4 kB / 0.782 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.008109, allocations: 19.84 kB / 0.782 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.008122, allocations: 8 kB / 0.782 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.008176, allocations: 9.203 kB / 0.782 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.00822, allocations: 19.97 kB / 0.782 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.008226, allocations: 4 kB / 0.782 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.402e-05/0.00825, allocations: 31.45 kB / 0.7821 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00825, allocations: 0 / 0.7821 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001453/0.008395, allocations: 52.84 kB / 0.7821 GB, free: 14.11 MB / 0.7448 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 8.922e-05/0.008484, allocations: 88.88 kB / 0.7822 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.008602, allocations: 73.55 kB / 0.7823 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.008606, allocations: 0 / 0.7823 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.871e-05/0.008654, allocations: 61.44 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.008846, allocations: 41.92 kB / 0.7824 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.009332, allocations: 397.4 kB / 0.7827 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.009376, allocations: 75.83 kB / 0.7828 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.728e-05/0.009433, allocations: 17.58 kB / 0.7828 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.009517, allocations: 76.3 kB / 0.7829 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.009518, allocations: 0 / 0.7829 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.003623/0.01314, allocations: 1.71 MB / 0.7846 GB, free: 11.66 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.280309705063701]