Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001475/0.001475, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001724/0.001724, allocations: 161 kB / 23.82 MB, free: 0.75 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.998/0.998, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.908/1.908, allocations: 377.8 MB / 0.6236 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_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="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.248e-05, allocations: 6.812 kB / 0.8116 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001499/0.001522, allocations: 0.8671 MB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.002392, allocations: 0.8986 MB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.002441, allocations: 0 / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.002476, allocations: 11.86 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.002555, allocations: 24.75 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.76e-05/0.002623, allocations: 32.86 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.002728, allocations: 115.7 kB / 0.8135 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.002829, allocations: 37.27 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.002921, allocations: 69.17 kB / 0.8136 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.002971, allocations: 35.88 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.002993, allocations: 12 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.003006, allocations: 13.94 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.003028, allocations: 23.92 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.003061, allocations: 31.91 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003169, allocations: 83.66 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003171, allocations: 0 / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003171, allocations: 1.688 kB / 0.8138 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.003176, allocations: 0 / 0.8138 GB, free: 15.51 MB / 0.7761 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.000741/0.003917, allocations: 436.4 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.003951, allocations: 16.88 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.003989, allocations: 20.84 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.004156, allocations: 145.1 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.004168, allocations: 4.562 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.004184, allocations: 9 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.004409, allocations: 107.8 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.004424, allocations: 1.281 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.004435, allocations: 0 / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.004447, allocations: 3.984 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.004517, allocations: 30.39 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.00491, allocations: 368.9 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.005057, allocations: 64.27 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.005095, allocations: 19.69 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.005107, allocations: 8.828 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.005127, allocations: 33.39 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.005128, allocations: 0 / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001829/0.005311, allocations: 78.42 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.005339, allocations: 51.41 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.005429, allocations: 192.6 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.005439, allocations: 25.7 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.0055, allocations: 154.9 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.005518, allocations: 32.58 kB / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.005555, allocations: 35.36 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.005674, allocations: 0.4883 MB / 0.816 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.005701, allocations: 13.17 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.005741, allocations: 31.31 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.507e-05/0.005806, allocations: 48.64 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005808, allocations: 0 / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.683e-05/0.005904, allocations: 69.64 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.005918, allocations: 12.19 kB / 0.8162 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.005922, allocations: 3.984 kB / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.005937, allocations: 0 / 0.8162 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.006011, allocations: 26.73 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.006017, allocations: 4.391 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.006053, allocations: 11.94 kB / 0.8162 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.006061, allocations: 8 kB / 0.8162 GB, free: 12.8 MB / 0.7761 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 6.938e-05/0.00613, allocations: 160.5 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.006151, allocations: 15.95 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.006178, allocations: 8.781 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.006181, allocations: 4.5 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.006185, allocations: 4.531 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006188, allocations: 5.328 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.006301, allocations: 152.5 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.006302, allocations: 0 / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.006354, allocations: 23.92 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.006355, allocations: 0.9062 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.006361, allocations: 0 / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006363, allocations: 4.656 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.006365, allocations: 3.984 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.006497, allocations: 220.5 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.006504, allocations: 6.797 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.006515, allocations: 4 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.815e-05/0.006563, allocations: 7.984 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.006606, allocations: 11.98 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.006609, allocations: 0 / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.006657, allocations: 150.1 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006657, allocations: 0 / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00015/0.006807, allocations: 23.89 kB / 0.817 GB, free: 11.95 MB / 0.7761 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.03e-05/0.006877, allocations: 105.9 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.006984, allocations: 35.67 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.006985, allocations: 0 / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.007023, allocations: 35.61 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.00723, allocations: 21.95 kB / 0.8172 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.007563, allocations: 210.6 kB / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.007597, allocations: 60.47 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.007629, allocations: 6.625 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.007663, allocations: 12.5 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.007663, allocations: 4 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.002823/0.01049, allocations: 1.304 MB / 0.8187 GB, free: 10.17 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.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: 5.251527947373688]