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.00149/0.00149, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001082/0.001082, allocations: 167.1 kB / 24.86 MB, free: 9.289 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.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.906/1.906, allocations: 377.9 MB / 0.6247 GB, free: 8.383 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.513e-06/1.513e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.546e-05, allocations: 6.938 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001607/0.001623, allocations: 0.8587 MB / 0.8136 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.00254, allocations: 0.8898 MB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.002598, allocations: 0 / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.002634, allocations: 11.86 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.002725, allocations: 21.14 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.38e-05/0.002799, allocations: 35.95 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.002926, allocations: 111.7 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.003042, allocations: 42.86 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.003156, allocations: 67.83 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.003219, allocations: 35.88 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.003241, allocations: 12 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.003255, allocations: 12.53 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.00328, allocations: 20.55 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.003313, allocations: 27.92 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003434, allocations: 88.11 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003437, allocations: 5.25 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003437, allocations: 0 / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003441, allocations: 0 / 0.815 GB, free: 15.22 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.000435/0.003876, allocations: 436.9 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.003909, allocations: 9.406 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.003951, allocations: 16.84 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.004096, allocations: 148.5 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.00411, allocations: 13.66 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.004123, allocations: 4.375 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.004301, allocations: 104.5 kB / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004309, allocations: 0 / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.004319, allocations: 0 / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.004324, allocations: 5 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.00438, allocations: 25.84 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.004767, allocations: 333 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.004903, allocations: 68.38 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.004937, allocations: 15.69 kB / 0.8161 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.004946, allocations: 9.359 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.004969, allocations: 37.39 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.00497, allocations: 0 / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001635/0.005133, allocations: 75.28 kB / 0.8162 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.005161, allocations: 55.39 kB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.005248, allocations: 187.9 kB / 0.8165 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.00526, allocations: 29.7 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.005323, allocations: 157.5 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.005344, allocations: 27.73 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.005389, allocations: 35.36 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.00551, allocations: 496.1 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.005535, allocations: 11.98 kB / 0.8172 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.00557, allocations: 27.36 kB / 0.8172 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.005627, allocations: 35.36 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005628, allocations: 4.438 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001102/0.005739, allocations: 78.06 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.00575, allocations: 5.938 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005754, allocations: 0 / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.005762, allocations: 7.938 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.005848, allocations: 23.92 kB / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005851, allocations: 2.078 kB / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.005902, allocations: 19.88 kB / 0.8174 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.005908, allocations: 4 kB / 0.8174 GB, free: 12.57 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.043e-05/0.005979, allocations: 156.6 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.006007, allocations: 12.8 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.006034, allocations: 16.78 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006036, allocations: 0.8438 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006038, allocations: 0 / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.006041, allocations: 0.8438 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.006179, allocations: 121.2 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006179, allocations: 0 / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.006249, allocations: 21.27 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.006252, allocations: 3.938 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.006259, allocations: 0 / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.006261, allocations: 8.781 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.006264, allocations: 7.984 kB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.0064, allocations: 214.7 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.006409, allocations: 7.953 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.006424, allocations: 7.922 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.006495, allocations: 8 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.006535, allocations: 11.97 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.00654, allocations: 4 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.006587, allocations: 139.2 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.006587, allocations: 2.719 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002241/0.006811, allocations: 23.89 kB / 0.8181 GB, free: 11.77 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.632e-05/0.006888, allocations: 103.2 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.006986, allocations: 35.86 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.006987, allocations: 0 / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.007028, allocations: 32.53 kB / 0.8183 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.007295, allocations: 27.62 kB / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.007634, allocations: 203.2 kB / 0.8185 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.007673, allocations: 63.34 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.007718, allocations: 6.875 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.007797, allocations: 90.12 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.007797, allocations: 0.875 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.00334/0.01114, allocations: 1.453 MB / 0.8201 GB, free: 9.766 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.276265995111316]