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.001344/0.001344, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001571/0.001571, allocations: 213.6 kB / 23.03 MB, free: 4.922 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.215/3.215, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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="cs",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="cs",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.002059/0.002059, allocations: 66.2 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4502, allocations: 176.1 MB / 1.327 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.002629/0.4528, allocations: 0.8194 MB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.4545, allocations: 0.8666 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.4546, allocations: 4 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.84e-05/0.4547, allocations: 7.875 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.4548, allocations: 23.78 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.4549, allocations: 31.97 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.4552, allocations: 111.8 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.4554, allocations: 42.7 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.4555, allocations: 43.84 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.4556, allocations: 59.69 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.4556, allocations: 12 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.4557, allocations: 8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.4557, allocations: 23.92 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.4558, allocations: 43.8 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.456, allocations: 139.7 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.456, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.545e-06/0.456, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.456, allocations: 0 / 1.329 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.0008218/0.4569, allocations: 343.6 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.4569, allocations: 19.95 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.51e-05/0.4569, allocations: 4.188 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.457, allocations: 38.75 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.4571, allocations: 12.89 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.4573, allocations: 142.3 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4574, allocations: 8.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.4574, allocations: 12.38 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.4578, allocations: 120.2 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4578, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.4578, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4578, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.4582, allocations: 111.8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.4589, allocations: 347.5 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.4593, allocations: 110.6 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.4595, allocations: 68.94 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4595, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.4596, allocations: 30.56 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4596, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006869/0.4602, allocations: 181.4 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.4603, allocations: 59.39 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4604, allocations: 117.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.4604, allocations: 26.08 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.4605, allocations: 104 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.4606, allocations: 31.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.4606, allocations: 25.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4608, allocations: 318.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.461, allocations: 43.95 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.4611, allocations: 47.95 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.4615, allocations: 104.7 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4615, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004901/0.462, allocations: 137.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.462, allocations: 8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.462, allocations: 3.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.462, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4622, allocations: 27.97 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4622, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.4623, allocations: 11.98 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4623, 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 0.0001444/0.4625, allocations: 118.4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.4625, allocations: 11.95 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.4626, allocations: 20.3 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4626, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4626, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.4626, allocations: 7.984 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.4629, allocations: 164.6 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4629, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.463, allocations: 28.25 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.463, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.463, allocations: 11.94 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.463, allocations: 7.938 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.463, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.4635, allocations: 227.4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.4635, allocations: 7.953 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.4635, allocations: 7.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.4637, allocations: 15.97 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.4637, allocations: 11.98 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4637, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.4638, allocations: 87.28 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4638, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002436/0.464, allocations: 15.95 kB / 1.332 GB, free: 11.69 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.0008142/0.4649, allocations: 0.7709 MB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.4653, allocations: 99.86 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.4653, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4655, allocations: 59.83 kB / 1.333 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.0004033/0.4659, allocations: 20.55 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.4683, allocations: 1.575 MB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.4684, allocations: 81.31 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.346e-05/0.4685, allocations: 4 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.4685, allocations: 31.42 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4685, allocations: 0 / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.4939, allocations: 2.41 MB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.91, allocations: 12 kB / 1.337 GB, free: 6.703 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.982419392094016]