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.001495/0.001495, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002177/0.002177, allocations: 215.3 kB / 22.25 MB, free: 5.102 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.801 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.166/3.166, allocations: 0.49 GB / 0.7951 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 177] 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.002063/0.002063, allocations: 70.48 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002089/0.3698, allocations: 0.8133 MB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3709, allocations: 0.8705 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.371, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.371, allocations: 7.875 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.3711, allocations: 19.86 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8e-05/0.3712, allocations: 31.97 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.3714, allocations: 111.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3715, allocations: 41.56 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.663e-05/0.3716, allocations: 51.78 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.3717, allocations: 47.77 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.3717, allocations: 12 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.3717, allocations: 12 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.3718, allocations: 27.92 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.3718, allocations: 35.8 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.372, allocations: 143.7 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.372, allocations: 11.92 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.893e-06/0.372, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.372, allocations: 0 / 1.328 GB, free: 15.27 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.000601/0.3726, allocations: 341.9 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3727, allocations: 8.031 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.3727, allocations: 42.69 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.3728, allocations: 8.891 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.3729, allocations: 146.3 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.373, allocations: 12.38 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.373, allocations: 12.38 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.3733, allocations: 120.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3733, allocations: 3.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3733, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3733, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.3737, allocations: 107.9 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.3742, allocations: 347.5 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.3746, allocations: 118.6 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3748, allocations: 56.81 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3748, allocations: 4 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3748, allocations: 34.56 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.3748, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000608/0.3754, allocations: 189.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3755, allocations: 51.41 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.3756, allocations: 113.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3756, allocations: 33.7 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.3757, allocations: 100 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.3757, allocations: 31.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.3757, allocations: 21.7 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3759, allocations: 322.8 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.376, allocations: 43.95 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.3762, allocations: 52.2 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.3765, allocations: 104.8 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3765, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003631/0.3769, allocations: 129.5 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3769, allocations: 8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3769, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3769, allocations: 7.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3771, allocations: 27.97 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3771, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.166e-05/0.3772, allocations: 11.98 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3772, allocations: 4 kB / 1.331 GB, free: 12.5 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 9.578e-05/0.3773, allocations: 122.3 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3773, allocations: 3.953 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.3773, allocations: 24.3 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3773, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3773, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3773, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.3776, allocations: 168.7 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3776, allocations: 3.984 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3777, allocations: 23.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3777, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.3777, allocations: 7.938 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3777, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3777, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.3782, allocations: 243.6 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.3782, allocations: 7.953 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3782, allocations: 3.938 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3783, allocations: 19.97 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3784, allocations: 11.98 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3784, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.507e-05/0.3784, allocations: 91.28 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3784, allocations: 3.938 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002356/0.3787, allocations: 23.95 kB / 1.331 GB, free: 11.68 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.0007199/0.3794, allocations: 0.767 MB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003819/0.3798, allocations: 99.86 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3798, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.3799, allocations: 59.89 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3803, allocations: 18.39 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.3825, allocations: 1.565 MB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.74e-05/0.3826, allocations: 89.31 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.3826, allocations: 4 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.3827, allocations: 31.42 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.3827, allocations: 0 / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.4144, allocations: 2.781 MB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 7.688 kB / 1.337 GB, free: 6.324 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.45201008100412]