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.001384/0.001384, allocations: 104.8 kB / 16.45 MB, free: 6.5 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.001541/0.001541, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.511/1.511, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.437/3.437, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) [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.002054/0.002054, allocations: 67.09 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002188/0.3558, allocations: 0.9686 MB / 1.322 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3569, allocations: 0.9093 MB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.357, allocations: 4 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.357, allocations: 15.8 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.315e-05/0.3571, allocations: 7.875 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.48e-05/0.3572, allocations: 59.88 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.3574, allocations: 156.2 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.3576, allocations: 76.88 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.3577, allocations: 59.84 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.3578, allocations: 71.62 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.3578, allocations: 16 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-05/0.3578, allocations: 20 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.3579, allocations: 35.91 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.3579, allocations: 63.67 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3582, allocations: 215 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3582, allocations: 0 / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3582, allocations: 0 / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3582, allocations: 4 kB / 1.323 GB, free: 0.6641 MB / 1.014 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.0006897/0.3589, allocations: 454.9 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3589, allocations: 11.98 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.855e-05/0.359, allocations: 54.67 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.359, allocations: 20.84 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3593, allocations: 216 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3593, allocations: 16.38 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.3593, allocations: 12.38 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.3597, allocations: 165.9 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3597, allocations: 3.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3597, allocations: 8 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.3598, allocations: 4 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.3602, allocations: 143.9 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.3609, allocations: 0.5038 MB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.3614, allocations: 154.2 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.3616, allocations: 77.05 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3617, allocations: 4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3617, allocations: 34.56 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.3617, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0007222/0.3624, allocations: 217.5 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.3624, allocations: 51.41 kB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3626, allocations: 117.8 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.3626, allocations: 29.7 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.3627, allocations: 120.3 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.3627, allocations: 55.47 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.3628, allocations: 29.66 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3629, allocations: 326.8 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.3631, allocations: 51.95 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.3633, allocations: 55.95 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.3637, allocations: 128.7 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3637, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004672/0.3642, allocations: 158.1 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3642, allocations: 11.98 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3642, allocations: 4 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3642, allocations: 0 / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.3644, allocations: 35.92 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.3645, allocations: 3.984 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3646, allocations: 11.98 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3646, allocations: 8 kB / 1.327 GB, free: 13.19 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.0001269/0.3647, allocations: 121.8 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.3647, allocations: 11.95 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.3648, allocations: 16.5 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3648, allocations: 0 / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3648, allocations: 0 / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3648, allocations: 3.984 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.3651, allocations: 249.4 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3651, allocations: 0 / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.3653, allocations: 39.91 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3653, allocations: 0 / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3653, allocations: 8 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3653, allocations: 8 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3653, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.3658, allocations: 260.7 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.3659, allocations: 89.05 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3659, allocations: 8 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.366, allocations: 11.98 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.3661, allocations: 15.92 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3661, allocations: 4 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.318e-05/0.3662, allocations: 95.2 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3662, allocations: 0 / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002562/0.3664, allocations: 31.89 kB / 1.328 GB, free: 12.14 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.000843/0.3673, allocations: 0.8039 MB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.3677, allocations: 131.8 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3677, allocations: 0 / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.3679, allocations: 71.89 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.3683, allocations: 25.66 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.3708, allocations: 1.712 MB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3712, allocations: 0.708 MB / 1.331 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.204e-05/0.3712, allocations: 12.41 kB / 1.331 GB, free: 8.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.3713, allocations: 43.42 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3713, allocations: 4 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3958, allocations: 2.476 MB / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.839, allocations: 8.469 kB / 1.333 GB, free: 6.227 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/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: 15.959458998870105]