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.PIDIntegralTime.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.001437/0.001437, 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.001684/0.001684, allocations: 218.5 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.781 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.481/3.481, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [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.002289/0.002289, allocations: 70.91 kB / 1.154 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.457, allocations: 176.1 MB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002633/0.4596, allocations: 0.8094 MB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.461, allocations: 0.8744 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.461, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.4611, allocations: 7.875 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.4612, allocations: 27.78 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.472e-05/0.4613, allocations: 31.97 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.4614, allocations: 111.8 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.4616, allocations: 37.58 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.4617, allocations: 47.84 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.4618, allocations: 43.78 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.4619, allocations: 12 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.4619, allocations: 16 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.462, allocations: 31.89 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.462, allocations: 35.8 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.4622, allocations: 139.4 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4622, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4622, allocations: 3.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4622, allocations: 0 / 1.329 GB, free: 14.73 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006849/0.4629, allocations: 341.9 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.463, allocations: 12.03 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.463, allocations: 12.89 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.4632, allocations: 142.3 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.4633, allocations: 8.375 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4633, allocations: 12.38 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.4636, allocations: 116.4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4636, allocations: 8.109 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.4636, allocations: 11.94 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4636, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.464, allocations: 107.9 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.4645, allocations: 320 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.4649, allocations: 110.6 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.4651, allocations: 60.81 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.4651, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.4651, allocations: 30.75 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.4651, allocations: 3.938 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0005954/0.4657, allocations: 177.5 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.4658, allocations: 67.28 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.4659, allocations: 110.2 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.4659, allocations: 29.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.466, allocations: 104 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.466, allocations: 35.69 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.4661, allocations: 21.72 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4662, allocations: 318.8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.4664, allocations: 43.95 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.4665, allocations: 43.97 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.4669, allocations: 105.3 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4669, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000369/0.4672, allocations: 141.5 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4672, allocations: 5.719 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4672, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4673, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.4674, allocations: 27.92 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4674, allocations: 3.938 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/0.4675, allocations: 15.97 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4675, allocations: 8 kB / 1.331 GB, free: 12.05 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 (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 0.0001021/0.4676, allocations: 118.4 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4676, allocations: 7.953 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.4677, allocations: 12.38 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4677, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.4677, allocations: 3.938 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4677, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.4679, allocations: 141.2 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4679, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.468, allocations: 35.91 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.468, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.468, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.468, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.468, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.4685, allocations: 235.3 kB / 1.331 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.4685, allocations: 7.953 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4685, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4686, allocations: 15.98 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.4687, allocations: 15.92 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4687, allocations: 3.984 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.775e-05/0.4687, allocations: 91.33 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4687, allocations: 192 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002329/0.469, allocations: 23.95 kB / 1.332 GB, free: 11.29 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 (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 Backend phase and start with SimCode phase: time 0.0001465/0.4691, allocations: 111.2 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.4695, allocations: 99.86 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4695, allocations: 7.938 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.4697, allocations: 55.89 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.47, allocations: 15.98 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.4706, allocations: 215.3 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.4707, allocations: 85.97 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.726e-05/0.4707, allocations: 7.984 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.4708, allocations: 15.44 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4708, allocations: 0 / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of Templates: time 0.004248/0.475, allocations: 1.157 MB / 1.333 GB, free: 9.523 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.778336954768747]