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.PIGain.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.0013/0.0013, 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.001494/0.001494, allocations: 165 kB / 23.82 MB, free: 0.7539 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.025/1.025, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.953/1.953, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.658e-05, allocations: 3.078 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001724/0.001751, allocations: 0.9799 MB / 0.8125 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.002783, allocations: 0.9286 MB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.002849, allocations: 0 / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.869e-05/0.002898, allocations: 19.73 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.735e-05/0.002996, allocations: 25.39 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 9.735e-05/0.003093, allocations: 51.94 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.003241, allocations: 172.1 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.003404, allocations: 69.41 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.003533, allocations: 97.17 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.003604, allocations: 55.8 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.003632, allocations: 16 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.655e-05/0.003649, allocations: 20 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.003678, allocations: 40.42 kB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.003724, allocations: 57.2 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.003871, allocations: 111.6 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003873, allocations: 3.938 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003874, allocations: 0 / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.003879, allocations: 1.156 kB / 0.8141 GB, free: 15.07 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000486/0.004365, allocations: 489.4 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.004404, allocations: 8.031 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.004458, allocations: 28.84 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.004621, allocations: 153.8 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.004636, allocations: 16.7 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.004659, allocations: 16.38 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.004904, allocations: 146.2 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.004916, allocations: 1.531 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.004931, allocations: 4.375 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.004941, allocations: 8.375 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.005048, allocations: 65.75 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.005605, allocations: 461.9 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.005754, allocations: 95.02 kB / 0.8156 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.005814, allocations: 39.67 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.005829, allocations: 4.188 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.005852, allocations: 37.39 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.005853, allocations: 0 / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002406/0.006094, allocations: 119.4 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.006125, allocations: 51.91 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.00622, allocations: 190.4 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.006233, allocations: 31.64 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.006313, allocations: 175 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.006338, allocations: 43.62 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.006382, allocations: 39.38 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.006496, allocations: 0.4884 MB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.006536, allocations: 15.98 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.006589, allocations: 48.73 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.572e-05/0.006685, allocations: 77.88 kB / 0.8169 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006687, allocations: 0.9062 kB / 0.8169 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001412/0.006828, allocations: 113.5 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.006843, allocations: 4.531 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006848, allocations: 0.6875 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.006867, allocations: 4 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.006987, allocations: 40.7 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.006992, allocations: 0 / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.007038, allocations: 16.77 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.007047, allocations: 4 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 8.113e-05/0.007128, allocations: 165.9 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.007152, allocations: 15.84 kB / 0.8172 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.007188, allocations: 21.61 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00719, allocations: 0 / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.007195, allocations: 1.219 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.007198, allocations: 0 / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.007342, allocations: 164.6 kB / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007343, allocations: 0 / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.915e-05/0.007413, allocations: 29.23 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.007417, allocations: 7.938 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.007425, allocations: 0 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.007426, allocations: 0.9375 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.007428, allocations: 3.984 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.007599, allocations: 245 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.007612, allocations: 15.84 kB / 0.8177 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.007626, allocations: 7.938 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.007685, allocations: 17.02 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.007735, allocations: 11.97 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.007739, allocations: 7.938 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.007791, allocations: 146 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007791, allocations: 0 / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001687/0.00796, allocations: 27.89 kB / 0.8179 GB, free: 10.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 (13): * Single equations (assignments): 13 * 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.041e-05/0.00805, allocations: 104.3 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.008201, allocations: 69.41 kB / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.008202, allocations: 0 / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.008253, allocations: 42.73 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.008493, allocations: 28.64 kB / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.009071, allocations: 288.3 kB / 0.8184 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.189e-05/0.009123, allocations: 67.34 kB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.147e-05/0.009175, allocations: 12.02 kB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.009223, allocations: 16.5 kB / 0.8185 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of SimCode: time 1.243e-06/0.009225, allocations: 3.938 kB / 0.8185 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.003738/0.01296, allocations: 1.436 MB / 0.8199 GB, free: 8.914 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.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.520206168293953]