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.00175/0.00175, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001464/0.001464, allocations: 216.1 kB / 22.24 MB, free: 4.852 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 8.02 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.32/3.32, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",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.002113/0.002113, allocations: 62.34 kB / 1.153 GB, free: 25.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002127/0.3778, allocations: 0.8169 MB / 1.326 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.379, allocations: 0.8705 MB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.379, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.3791, allocations: 11.86 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3792, allocations: 23.8 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.345e-05/0.3793, allocations: 35.95 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3794, allocations: 107.8 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3796, allocations: 44.19 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.3797, allocations: 43.86 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.3797, allocations: 43.75 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3798, allocations: 12 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.3798, allocations: 12 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.3798, allocations: 27.92 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.3799, allocations: 35.8 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3801, allocations: 147.6 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3801, allocations: 0 / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3801, allocations: 0 / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3801, allocations: 0 / 1.327 GB, free: 172 kB / 1.014 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.0006292/0.3807, allocations: 349.9 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3807, allocations: 8.031 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.3808, allocations: 46.67 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.3808, allocations: 8.891 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.381, allocations: 138.4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.381, allocations: 8.375 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3811, allocations: 12.38 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.3814, allocations: 122.2 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3814, allocations: 3.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3814, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3814, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.3818, allocations: 103.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3823, allocations: 355.5 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.3827, allocations: 114.6 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.3829, allocations: 57 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.383, allocations: 7.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.383, allocations: 30.56 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.383, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006095/0.3836, allocations: 185.4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3836, allocations: 51.41 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.3837, allocations: 117.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3838, allocations: 25.7 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.3838, allocations: 104 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.3839, allocations: 39.62 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.3839, allocations: 25.72 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.384, allocations: 318.8 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.3842, allocations: 43.95 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.3844, allocations: 39.97 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.3847, allocations: 113.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3847, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000383/0.3851, allocations: 133.5 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3851, allocations: 8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3851, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3851, allocations: 3.938 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3853, allocations: 27.98 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3853, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.3854, allocations: 19.97 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3854, allocations: 0 / 1.33 GB, free: 13.39 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.0001052/0.3855, allocations: 122.4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.3855, allocations: 3.953 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.3855, allocations: 16.31 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3855, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3855, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3855, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3858, allocations: 176.7 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3858, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3859, allocations: 31.91 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3859, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3859, allocations: 3.938 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3859, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3859, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.3864, allocations: 235.4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.3864, allocations: 8.141 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3864, allocations: 7.938 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3865, allocations: 15.92 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.3866, allocations: 11.98 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.3866, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.914e-05/0.3867, allocations: 95.2 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3867, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002621/0.3869, allocations: 19.95 kB / 1.33 GB, free: 12.59 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.0007799/0.3877, allocations: 0.7671 MB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.3881, allocations: 103.8 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3881, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3883, allocations: 55.89 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3886, allocations: 17.81 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.3908, allocations: 1.576 MB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.823e-05/0.3909, allocations: 85.33 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.584e-05/0.391, allocations: 7.984 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.391, allocations: 23.44 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.391, allocations: 0 / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.4235, allocations: 2.742 MB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.77, allocations: 10.27 kB / 1.336 GB, free: 7.258 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.67483417596668]