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.002396/0.002396, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003006/0.003006, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.636/1.636, allocations: 177.1 MB / 203.9 MB, free: 5.617 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 3.029/3.029, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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 2.405e-06/2.405e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.907e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002329/0.002358, allocations: 0.9639 MB / 0.8118 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003629, allocations: 0.9144 MB / 0.8127 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.003695, allocations: 5.219 kB / 0.8127 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.003739, allocations: 15.8 kB / 0.8127 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.003841, allocations: 15.81 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.003956, allocations: 56.8 kB / 0.8128 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.004181, allocations: 168.2 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.004352, allocations: 73.92 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.004508, allocations: 95.84 kB / 0.8131 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.004596, allocations: 55.8 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.004633, allocations: 21.53 kB / 0.8132 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.621e-05/0.004659, allocations: 16 kB / 0.8132 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.004706, allocations: 43.83 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.004766, allocations: 47.91 kB / 0.8133 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.005057, allocations: 232.7 kB / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005059, allocations: 0 / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00506, allocations: 0 / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005065, allocations: 0 / 0.8135 GB, free: 15.41 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.000722/0.005787, allocations: 493.2 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.005821, allocations: 13.81 kB / 0.814 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.005896, allocations: 36.78 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.00611, allocations: 159.8 kB / 0.8141 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.00613, allocations: 12.7 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.006154, allocations: 12.38 kB / 0.8142 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.006532, allocations: 166 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.006546, allocations: 4.172 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.006563, allocations: 5.625 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.006569, allocations: 4.375 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.00698, allocations: 140.8 kB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.007787, allocations: 0.5052 MB / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.008098, allocations: 123 kB / 0.8151 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.008295, allocations: 72.19 kB / 0.8152 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.008322, allocations: 12.59 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.008354, allocations: 33.39 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.008355, allocations: 1.469 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0006478/0.009003, allocations: 210.4 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.009048, allocations: 56.41 kB / 0.8155 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.009219, allocations: 203.5 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.009244, allocations: 25.7 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.009364, allocations: 175.8 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.009414, allocations: 51.58 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.009478, allocations: 32.03 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000495/0.009973, allocations: 0.5009 MB / 0.8164 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.01014, allocations: 43.97 kB / 0.8165 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.01033, allocations: 95.83 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.01067, allocations: 133.3 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01067, allocations: 0 / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004264/0.01109, allocations: 181.7 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.01111, allocations: 4 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01111, allocations: 4 kB / 0.8169 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.01113, allocations: 3.938 kB / 0.8169 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.0113, allocations: 31.42 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.0113, allocations: 4 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.0114, allocations: 19.92 kB / 0.8169 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.01141, allocations: 0 / 0.8169 GB, free: 11.69 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 0.000138/0.01154, allocations: 172.5 kB / 0.8171 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.01159, allocations: 23.84 kB / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.01164, allocations: 16.77 kB / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.01165, allocations: 4.844 kB / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01165, allocations: 0 / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01166, allocations: 0.5 kB / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.01191, allocations: 184.6 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.01191, allocations: 0.5625 kB / 0.8173 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.01205, allocations: 32.55 kB / 0.8173 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.01206, allocations: 9.469 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01207, allocations: 0 / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01207, allocations: 0 / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01207, allocations: 0 / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.01257, allocations: 316.6 kB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.01259, allocations: 16.94 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.01261, allocations: 7.938 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01272, allocations: 12.52 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.01278, allocations: 11.98 kB / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.01279, allocations: 0.6562 kB / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001158/0.0129, allocations: 154.9 kB / 0.8178 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0129, allocations: 0 / 0.8178 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002428/0.01315, allocations: 31.89 kB / 0.8179 GB, free: 10.66 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 0.0001303/0.01328, allocations: 107.2 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004318/0.01371, allocations: 139 kB / 0.8181 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01371, allocations: 0 / 0.8181 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.0139, allocations: 75.53 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.01421, allocations: 26.58 kB / 0.8182 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.01487, allocations: 300.8 kB / 0.8185 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.01498, allocations: 101 kB / 0.8186 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.353e-05/0.01504, allocations: 16.5 kB / 0.8186 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.01509, allocations: 16.5 kB / 0.8186 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.01509, allocations: 0 / 0.8186 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.004991/0.02008, allocations: 1.429 MB / 0.82 GB, free: 8.48 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","/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: 8.204971057013609]