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.001114/0.001114, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001068/0.001068, allocations: 170.3 kB / 25.18 MB, free: 8.324 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.9351/0.9351, allocations: 177.2 MB / 205.6 MB, free: 4.012 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.989/1.989, allocations: 389.6 MB / 0.6364 GB, free: 13.3 MB / 0.6042 GB " [Timeout remaining time 178] 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 3.036e-06/3.036e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.632e-05/4.935e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.003465/0.003514, allocations: 0.8956 MB / 0.7765 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.004732, allocations: 0.9013 MB / 0.7774 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.273e-05/0.004805, allocations: 4 kB / 0.7774 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.973e-05/0.004865, allocations: 15.8 kB / 0.7774 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.004983, allocations: 11.88 kB / 0.7774 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.013e-05/0.005063, allocations: 35.95 kB / 0.7774 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.00521, allocations: 119.7 kB / 0.7775 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.005354, allocations: 37.95 kB / 0.7776 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.005506, allocations: 75.73 kB / 0.7776 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.005582, allocations: 39.89 kB / 0.7777 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.005611, allocations: 12 kB / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.005625, allocations: 8 kB / 0.7777 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.005655, allocations: 23.91 kB / 0.7777 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.005694, allocations: 31.92 kB / 0.7778 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.005812, allocations: 75.73 kB / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005815, allocations: 0 / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.293e-06/0.005816, allocations: 0 / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005821, allocations: 0 / 0.7778 GB, free: 12.24 MB / 0.7448 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.0003954/0.006216, allocations: 312.7 kB / 0.7781 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.006253, allocations: 12.03 kB / 0.7781 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.006284, allocations: 12.94 kB / 0.7781 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.006419, allocations: 137.5 kB / 0.7783 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.006436, allocations: 12.56 kB / 0.7783 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.00645, allocations: 8.375 kB / 0.7783 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.006612, allocations: 111.3 kB / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.00662, allocations: 0 / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.00663, allocations: 0 / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.006636, allocations: 4 kB / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.006679, allocations: 23.92 kB / 0.7784 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.007003, allocations: 236 kB / 0.7787 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.007128, allocations: 46.75 kB / 0.7787 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.00716, allocations: 24.78 kB / 0.7787 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.00717, allocations: 4 kB / 0.7787 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.00719, allocations: 30.56 kB / 0.7788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.007192, allocations: 0 / 0.7788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001351/0.007327, allocations: 69.75 kB / 0.7788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.007361, allocations: 51.41 kB / 0.7789 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.00744, allocations: 126.7 kB / 0.779 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.007452, allocations: 29.7 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.007501, allocations: 104 kB / 0.7791 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.007519, allocations: 35.72 kB / 0.7792 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.007548, allocations: 17.72 kB / 0.7792 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.007633, allocations: 322.8 kB / 0.7795 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.007647, allocations: 4 kB / 0.7795 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.007674, allocations: 25.69 kB / 0.7795 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.324e-05/0.007717, allocations: 37.64 kB / 0.7795 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007719, allocations: 0 / 0.7795 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.348e-05/0.007792, allocations: 69.53 kB / 0.7796 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.007805, allocations: 12.03 kB / 0.7796 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.00781, allocations: 0 / 0.7796 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.007818, allocations: 0 / 0.7796 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.00792, allocations: 27.98 kB / 0.7796 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.007924, allocations: 0 / 0.7796 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.007957, allocations: 11.98 kB / 0.7797 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.007961, allocations: 0 / 0.7797 GB, free: 10.19 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 (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.789e-05/0.008019, allocations: 113.8 kB / 0.7798 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.008036, allocations: 15.91 kB / 0.7798 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.00806, allocations: 20.72 kB / 0.7798 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.008063, allocations: 4 kB / 0.7798 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008064, allocations: 0 / 0.7798 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008068, allocations: 0 / 0.7798 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.008171, allocations: 101.7 kB / 0.7799 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.008171, allocations: 0 / 0.7799 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.008225, allocations: 23.98 kB / 0.7799 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.008227, allocations: 0 / 0.7799 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.008234, allocations: 7.938 kB / 0.7799 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.008235, allocations: 0 / 0.7799 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008236, allocations: 4 kB / 0.7799 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.744e-05/0.008333, allocations: 151.9 kB / 0.7801 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.008341, allocations: 7.953 kB / 0.7801 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.008351, allocations: 3.938 kB / 0.7801 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.008396, allocations: 15.98 kB / 0.7801 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.008435, allocations: 11.92 kB / 0.7801 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.008439, allocations: 4 kB / 0.7801 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.996e-05/0.008459, allocations: 24.2 kB / 0.7801 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008459, allocations: 0 / 0.7801 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001197/0.008579, allocations: 23.94 kB / 0.7802 GB, free: 9.625 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 (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 9.562e-05/0.008674, allocations: 84.42 kB / 0.7802 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.582e-05/0.00875, allocations: 28.84 kB / 0.7803 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.008756, allocations: 3.938 kB / 0.7803 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.008786, allocations: 28.83 kB / 0.7803 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.008947, allocations: 19.98 kB / 0.7803 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.009282, allocations: 238.7 kB / 0.7806 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.00934, allocations: 80.33 kB / 0.7806 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.009418, allocations: 67.36 kB / 0.7807 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.009419, allocations: 0 / 0.7807 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.002178/0.0116, allocations: 1.315 MB / 0.782 GB, free: 7.707 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 > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6381502309814095]