Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001311/0.001311, allocations: 99.75 kB / 18.95 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.001515/0.001515, allocations: 222.6 kB / 22.25 MB, free: 5.098 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.324/3.324, allocations: 0.505 GB / 0.8101 GB, free: 23.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002098/0.002098, allocations: 72.36 kB / 1.177 GB, free: 16.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3725, allocations: 180.2 MB / 1.353 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002293/0.3748, allocations: 0.8206 MB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3759, allocations: 0.8705 MB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.376, allocations: 4 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3761, allocations: 7.875 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.508e-05/0.3762, allocations: 15.84 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.791e-05/0.3763, allocations: 35.91 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.3765, allocations: 111.8 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3766, allocations: 41.52 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3768, allocations: 43.84 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.3769, allocations: 55.77 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.3769, allocations: 12 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.3769, allocations: 12 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.377, allocations: 23.91 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.377, allocations: 43.8 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3772, allocations: 147.6 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3772, allocations: 0 / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3772, allocations: 0 / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3772, allocations: 0 / 1.355 GB, free: 5.699 MB / 1.045 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.0006556/0.3779, allocations: 341.9 kB / 1.355 GB, free: 5.332 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3779, allocations: 12.03 kB / 1.355 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.378, allocations: 46.73 kB / 1.355 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.378, allocations: 12.84 kB / 1.355 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3782, allocations: 138.4 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3782, allocations: 12.31 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3783, allocations: 4.375 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.3786, allocations: 128.2 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3786, allocations: 3.938 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3786, allocations: 0 / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3786, allocations: 0 / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.379, allocations: 111.8 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.3795, allocations: 343.6 kB / 1.356 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.3799, allocations: 114.6 kB / 1.356 GB, free: 4.336 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.3801, allocations: 56.81 kB / 1.356 GB, free: 4.277 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3801, allocations: 0 / 1.356 GB, free: 4.277 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3801, allocations: 38.56 kB / 1.356 GB, free: 4.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.3801, allocations: 0 / 1.356 GB, free: 4.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006165/0.3807, allocations: 189.5 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3808, allocations: 51.41 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.3809, allocations: 121.8 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3809, allocations: 29.7 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.381, allocations: 108 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.381, allocations: 27.75 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.3811, allocations: 21.7 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.3813, allocations: 322.8 kB / 1.357 GB, free: 3.324 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.3815, allocations: 43.95 kB / 1.357 GB, free: 3.281 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3816, allocations: 47.95 kB / 1.357 GB, free: 3.234 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.382, allocations: 88.8 kB / 1.357 GB, free: 3.145 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.382, allocations: 0 / 1.357 GB, free: 3.145 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000371/0.3823, allocations: 141.5 kB / 1.357 GB, free: 3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3823, allocations: 5.25 kB / 1.357 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3823, allocations: 0.6562 kB / 1.357 GB, free: 2.996 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3824, allocations: 7.938 kB / 1.357 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.3826, allocations: 23.97 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3826, allocations: 4 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.3827, allocations: 15.98 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.3827, allocations: 7.938 kB / 1.358 GB, free: 2.938 MB / 1.045 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.623e-05/0.3828, allocations: 117.8 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.3828, allocations: 11.89 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.3828, allocations: 12.31 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3828, allocations: 4 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3828, allocations: 3.984 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3829, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.3831, allocations: 180.6 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3831, allocations: 4 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.3833, allocations: 27.97 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3833, allocations: 0 / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3833, allocations: 3.938 kB / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3833, allocations: 0 / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3833, allocations: 0 / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.3837, allocations: 235.4 kB / 1.358 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.3837, allocations: 3.953 kB / 1.358 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.3838, allocations: 7.938 kB / 1.358 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3839, allocations: 11.98 kB / 1.358 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3839, allocations: 11.92 kB / 1.358 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3839, allocations: 4 kB / 1.358 GB, free: 2.238 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.384, allocations: 95.64 kB / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.384, allocations: 0 / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002467/0.3842, allocations: 19.95 kB / 1.358 GB, free: 2.125 MB / 1.045 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.0007512/0.385, allocations: 0.7729 MB / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.3854, allocations: 111.9 kB / 1.359 GB, free: 1.219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3854, allocations: 0 / 1.359 GB, free: 1.219 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3856, allocations: 55.95 kB / 1.359 GB, free: 1.164 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3859, allocations: 16.31 kB / 1.359 GB, free: 1.148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3882, allocations: 1.559 MB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.925e-05/0.3883, allocations: 85.31 kB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.837e-05/0.3884, allocations: 8 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.3884, allocations: 27.42 kB / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.3884, allocations: 0 / 1.361 GB, free: 15.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.4199, allocations: 2.783 MB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 8.047 kB / 1.364 GB, free: 12.75 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.48757601698162]