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.PIIntegralTime.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.001638/0.001638, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.002424/0.002424, allocations: 216.1 kB / 22.24 MB, free: 5.258 MB / 14.72 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.287/3.287, allocations: 0.49 GB / 0.7951 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 75.2 kB / 1.154 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4656, allocations: 176.1 MB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.00245/0.468, allocations: 0.9061 MB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.4693, allocations: 0.8978 MB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.167e-05/0.4694, allocations: 4 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.4694, allocations: 15.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.4695, allocations: 19.8 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.628e-05/0.4696, allocations: 47.95 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.4698, allocations: 152.2 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.47, allocations: 81.02 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.4701, allocations: 63.78 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.4702, allocations: 67.69 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.4702, allocations: 16 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.4702, allocations: 20 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.4703, allocations: 39.86 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.4703, allocations: 59.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.4706, allocations: 211.1 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4706, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4706, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4706, allocations: 0 / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006572/0.4712, allocations: 383.1 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4713, allocations: 12.03 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.4713, allocations: 16.84 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4715, allocations: 150.3 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4715, allocations: 8.375 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4716, allocations: 16.38 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.472, allocations: 166.3 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.472, allocations: 192 / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.472, allocations: 11.94 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.472, allocations: 11.88 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.4724, allocations: 143.9 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.473, allocations: 403.7 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.4735, allocations: 158.6 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.4737, allocations: 76.75 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.4737, allocations: 4 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.4738, allocations: 30.56 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4738, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006666/0.4744, allocations: 226.4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4745, allocations: 51.41 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.4746, allocations: 117.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4746, allocations: 29.7 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.4747, allocations: 124.3 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.4747, allocations: 43.62 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.4748, allocations: 25.72 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4749, allocations: 322.8 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.4751, allocations: 55.95 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.4753, allocations: 62.7 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.4757, allocations: 120.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4757, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004185/0.4761, allocations: 185 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4761, allocations: 4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4761, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4761, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.4763, allocations: 35.97 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4763, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.4764, allocations: 19.92 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4764, allocations: 8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.0001107/0.4765, allocations: 127.4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.4766, allocations: 11.89 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.4766, allocations: 12.44 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4766, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4766, allocations: 11.92 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4766, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.4768, allocations: 161.2 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4768, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.477, allocations: 39.92 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.477, allocations: 0 / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.477, allocations: 7.984 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.477, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.477, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.4775, allocations: 263.4 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.4775, allocations: 19.83 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.4775, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.4777, allocations: 19.98 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4777, allocations: 15.97 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4777, allocations: 8 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.4778, allocations: 91.7 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4778, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002376/0.478, allocations: 27.95 kB / 1.333 GB, free: 10.39 MB / 1.029 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 (14): * Single equations (assignments): 14 * 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.0001272/0.4781, allocations: 107.1 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.4786, allocations: 131.9 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.4786, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.4788, allocations: 63.89 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.4791, allocations: 18.22 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.4797, allocations: 278.7 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.522e-05/0.4798, allocations: 97.61 kB / 1.333 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.466e-05/0.4798, allocations: 12.36 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.4799, allocations: 15.44 kB / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4799, allocations: 0 / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of Templates: time 0.004399/0.4843, allocations: 1.321 MB / 1.335 GB, free: 8.359 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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: 9.641434196382761]