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.001556/0.001556, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001947/0.001947, allocations: 169 kB / 23.82 MB, free: 0.7422 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 1/1, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.803/1.803, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 1.403e-06/1.403e-06, allocations: 0 / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.547e-05, allocations: 3.078 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001361/0.001377, allocations: 0.8633 MB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008277/0.002204, allocations: 0.8948 MB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.002256, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.002294, allocations: 16.48 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.122e-05/0.002375, allocations: 12.78 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.199e-05/0.002437, allocations: 39.94 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.00255, allocations: 120.3 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.00265, allocations: 33.28 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.002751, allocations: 72.45 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.0028, allocations: 31.89 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.002823, allocations: 13.03 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.002834, allocations: 12 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.002855, allocations: 24.78 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.002892, allocations: 31.91 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002993, allocations: 79.72 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002994, allocations: 1.25 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002995, allocations: 0 / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.002999, allocations: 0 / 0.8138 GB, free: 15.46 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.000381/0.00338, allocations: 437.9 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.003413, allocations: 11.97 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.003452, allocations: 20.84 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.00357, allocations: 141.9 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.00358, allocations: 8.562 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.003593, allocations: 12.38 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.003766, allocations: 107.2 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.003772, allocations: 0 / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.003783, allocations: 0 / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.003791, allocations: 4 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.003856, allocations: 31.91 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.004239, allocations: 373 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.004384, allocations: 56.58 kB / 0.8149 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.004423, allocations: 23.67 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.004434, allocations: 4.531 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.004453, allocations: 37.38 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.004454, allocations: 0.625 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001603/0.004614, allocations: 79.55 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.00464, allocations: 55.41 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.00472, allocations: 185.9 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.004731, allocations: 25.7 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.004785, allocations: 154.7 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.004801, allocations: 28.28 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.004836, allocations: 35.36 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.004942, allocations: 496.8 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.00497, allocations: 11.98 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.005008, allocations: 36.53 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.005066, allocations: 51.44 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.005067, allocations: 0.625 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.051e-05/0.005158, allocations: 79 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.005168, allocations: 8 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005172, allocations: 0 / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.005182, allocations: 0.75 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.005252, allocations: 23.98 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.005256, allocations: 0.7188 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.005297, allocations: 21.16 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.005303, allocations: 4 kB / 0.8162 GB, free: 12.74 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.457e-05/0.005368, allocations: 168.4 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.005386, allocations: 12.77 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.005411, allocations: 12.78 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.005413, allocations: 0.9375 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.005418, allocations: 4 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.005422, allocations: 3.984 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.005535, allocations: 145.9 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005536, allocations: 0 / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-05/0.005585, allocations: 19.98 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.005586, allocations: 0.9375 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.005594, allocations: 4 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.005594, allocations: 2.312 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005595, allocations: 0 / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.005719, allocations: 227.8 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-06/0.005727, allocations: 7.953 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.005737, allocations: 0 / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.005784, allocations: 7.984 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.005824, allocations: 15.42 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.005828, allocations: 4 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.005878, allocations: 141.1 kB / 0.817 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005878, allocations: 0 / 0.817 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001486/0.006027, allocations: 27.89 kB / 0.817 GB, free: 11.89 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 6.444e-05/0.006091, allocations: 99.25 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.006193, allocations: 39.61 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006195, allocations: 0.6562 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.006229, allocations: 31.67 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.006424, allocations: 25.55 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.006751, allocations: 200.7 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.006785, allocations: 67.94 kB / 0.8174 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.006826, allocations: 9.156 kB / 0.8174 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.006862, allocations: 12.5 kB / 0.8174 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.006863, allocations: 0 / 0.8174 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.003004/0.009867, allocations: 1.399 MB / 0.8188 GB, free: 10.03 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.023399057798088]