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.00149/0.00149, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001614/0.001614, allocations: 161.3 kB / 23.54 MB, free: 0.8711 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.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.912/2.912, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] 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 3.376e-06/3.376e-06, allocations: 0 / 0.8108 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.584e-05, allocations: 3.312 kB / 0.8108 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.003403/0.003439, allocations: 0.9289 MB / 0.8117 GB, free: 20 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.005453, allocations: 0.9223 MB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.00555, allocations: 4 kB / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.27e-05/0.005633, allocations: 15.8 kB / 0.8127 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.005784, allocations: 20.77 kB / 0.8127 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.005957, allocations: 56.62 kB / 0.8127 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.006276, allocations: 164.2 kB / 0.8129 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.006548, allocations: 77.69 kB / 0.813 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.006782, allocations: 99.73 kB / 0.8131 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.006919, allocations: 56.45 kB / 0.8131 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.006976, allocations: 20 kB / 0.8131 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.007012, allocations: 17.22 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.007081, allocations: 39.89 kB / 0.8132 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.0072, allocations: 55.83 kB / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.007617, allocations: 228.1 kB / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.007621, allocations: 0 / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.263e-06/0.007622, allocations: 0 / 0.8134 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.007627, allocations: 0.8438 kB / 0.8134 GB, free: 14.25 MB / 0.7292 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.001106/0.008733, allocations: 400.1 kB / 0.8138 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.008783, allocations: 8.031 kB / 0.8138 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.008893, allocations: 28.84 kB / 0.8139 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.009219, allocations: 159.5 kB / 0.814 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.009248, allocations: 12.7 kB / 0.814 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.009289, allocations: 16.38 kB / 0.814 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007258/0.01002, allocations: 181.9 kB / 0.8142 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.01004, allocations: 192 / 0.8142 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.01007, allocations: 9.344 kB / 0.8142 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01008, allocations: 4.375 kB / 0.8142 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009203/0.011, allocations: 187.4 kB / 0.8144 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.01205, allocations: 409.5 kB / 0.8148 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.01265, allocations: 146.5 kB / 0.8149 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.0131, allocations: 82.19 kB / 0.815 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.01313, allocations: 7.938 kB / 0.815 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.01318, allocations: 35.16 kB / 0.8151 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.01318, allocations: 0.6875 kB / 0.8151 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.001398/0.01458, allocations: 260.6 kB / 0.8153 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.01465, allocations: 55.41 kB / 0.8154 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.01485, allocations: 128.9 kB / 0.8155 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.01489, allocations: 29.7 kB / 0.8155 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.01503, allocations: 124.3 kB / 0.8156 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.0151, allocations: 51.56 kB / 0.8157 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.01521, allocations: 30.27 kB / 0.8157 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003696/0.01558, allocations: 323.6 kB / 0.816 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.01599, allocations: 64.88 kB / 0.8161 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.01641, allocations: 87.86 kB / 0.8162 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.01721, allocations: 169.7 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01722, allocations: 0 / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009431/0.01816, allocations: 209.4 kB / 0.8165 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.01818, allocations: 4 kB / 0.8165 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01819, allocations: 0 / 0.8165 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.01821, allocations: 4 kB / 0.8165 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.01855, allocations: 37.53 kB / 0.8166 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.01855, allocations: 0 / 0.8166 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.01878, allocations: 28.52 kB / 0.8166 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.01881, allocations: 8 kB / 0.8166 GB, free: 10.86 MB / 0.7292 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 0.0001829/0.01899, allocations: 131.1 kB / 0.8167 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.01906, allocations: 19.89 kB / 0.8167 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.01912, allocations: 20.7 kB / 0.8168 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.01912, allocations: 4.781 kB / 0.8168 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01913, allocations: 0 / 0.8168 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01913, allocations: 0.5625 kB / 0.8168 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.01949, allocations: 158.3 kB / 0.8169 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01949, allocations: 0 / 0.8169 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.01981, allocations: 36.62 kB / 0.817 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01982, allocations: 7.938 kB / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01983, allocations: 5.562 kB / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01983, allocations: 0 / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01984, allocations: 0 / 0.817 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.02081, allocations: 292.1 kB / 0.8173 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.02083, allocations: 11.91 kB / 0.8173 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.02087, allocations: 7.938 kB / 0.8173 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.02113, allocations: 19.97 kB / 0.8173 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.02122, allocations: 11.98 kB / 0.8173 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.02123, allocations: 4.906 kB / 0.8173 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001195/0.02135, allocations: 101.9 kB / 0.8174 GB, free: 10 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02135, allocations: 1.062 kB / 0.8174 GB, free: 10 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005102/0.02186, allocations: 31.94 kB / 0.8174 GB, free: 9.969 MB / 0.7292 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 0.000194/0.02206, allocations: 108.3 kB / 0.8175 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009037/0.02296, allocations: 155.3 kB / 0.8177 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.02296, allocations: 0 / 0.8177 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.02337, allocations: 87.92 kB / 0.8178 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.02402, allocations: 27.28 kB / 0.8178 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.02502, allocations: 290.4 kB / 0.8181 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.02519, allocations: 107.6 kB / 0.8182 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.724e-05/0.02529, allocations: 4.5 kB / 0.8182 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.02537, allocations: 20.5 kB / 0.8182 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.02537, allocations: 0 / 0.8182 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of Templates: time 0.006867/0.03224, allocations: 1.432 MB / 0.8196 GB, free: 7.781 MB / 0.7292 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.90560509392526]