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.0009903/0.0009903, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001008/0.001008, allocations: 169 kB / 24.28 MB, free: 268 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 0.9602/0.9602, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.96/1.96, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.863e-06/1.863e-06, allocations: 0 / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.854e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.0014/0.001419, allocations: 0.8551 MB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.002299, allocations: 0.891 MB / 0.8133 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.002366, allocations: 0 / 0.8133 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.002407, allocations: 14.3 kB / 0.8133 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.873e-05/0.002505, allocations: 15.81 kB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.876e-05/0.002584, allocations: 39.94 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.002712, allocations: 119.7 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.002845, allocations: 33.28 kB / 0.8135 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.00296, allocations: 69.36 kB / 0.8135 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.003035, allocations: 31.89 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.003064, allocations: 12 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.003077, allocations: 12 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.003108, allocations: 33.36 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.003146, allocations: 27.92 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.003283, allocations: 87.64 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003286, allocations: 0 / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003287, allocations: 0.5312 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.003292, allocations: 0 / 0.8137 GB, free: 15.82 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.0004491/0.003741, allocations: 441.3 kB / 0.8142 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.003777, allocations: 12.75 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.003823, allocations: 20.84 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.00399, allocations: 141.2 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.004003, allocations: 9.938 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.004019, allocations: 12.36 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.004213, allocations: 103.2 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.00422, allocations: 1.156 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.004232, allocations: 4 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.004243, allocations: 7.984 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.004311, allocations: 26.58 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.004706, allocations: 368.4 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.004857, allocations: 64.2 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.004901, allocations: 24.83 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.00491, allocations: 4 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.00493, allocations: 33.39 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.004931, allocations: 3.188 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001953/0.005126, allocations: 77.58 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.005158, allocations: 55.41 kB / 0.8151 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.005246, allocations: 183.3 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.005258, allocations: 29.7 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.005319, allocations: 154.7 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.005337, allocations: 31.73 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.005372, allocations: 31.38 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.005488, allocations: 0.4922 MB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.005514, allocations: 8.5 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.005553, allocations: 37.23 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.154e-05/0.005615, allocations: 47.45 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.005617, allocations: 0 / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.333e-05/0.00571, allocations: 73.94 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.005724, allocations: 9.531 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005728, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.00574, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.005808, allocations: 24.98 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.005813, allocations: 7.984 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.00585, allocations: 11.89 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.005856, allocations: 8.469 kB / 0.8162 GB, free: 13.1 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 7.641e-05/0.005932, allocations: 165.4 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.005951, allocations: 11.94 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.005977, allocations: 13.62 kB / 0.8164 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.005979, allocations: 4 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.005984, allocations: 1.281 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.005988, allocations: 0 / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.006106, allocations: 144.5 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.006106, allocations: 0.8125 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.006156, allocations: 23.92 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006157, allocations: 0.875 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.006164, allocations: 0 / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006166, allocations: 9.562 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006167, allocations: 3.984 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.006292, allocations: 223.8 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.0063, allocations: 7.953 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.00631, allocations: 0.9375 kB / 0.8168 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.48e-05/0.006355, allocations: 7.984 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.006399, allocations: 13.05 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.006402, allocations: 0 / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.006445, allocations: 142 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.006445, allocations: 1.094 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001445/0.00659, allocations: 27.89 kB / 0.817 GB, free: 12.25 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.158e-05/0.006661, allocations: 104.3 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.006768, allocations: 39.66 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006769, allocations: 1.156 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.006806, allocations: 31.62 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.007012, allocations: 21.55 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.00735, allocations: 205.2 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.007387, allocations: 64.52 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.007422, allocations: 5.734 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.007455, allocations: 18.97 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.007455, allocations: 0 / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.003127/0.01058, allocations: 1.301 MB / 0.8187 GB, free: 10.48 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.362192981876433]