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.PIDGain.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.001324/0.001324, 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.001465/0.001465, allocations: 217.8 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.298/3.298, 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.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",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.002001/0.002001, allocations: 70.23 kB / 1.155 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4467, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.003488/0.4502, allocations: 0.8273 MB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.4522, allocations: 0.8782 MB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.4524, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.697e-05/0.4525, allocations: 7.875 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.4527, allocations: 19.84 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.4528, allocations: 35.97 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.4532, allocations: 119.7 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.4534, allocations: 37.28 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.4536, allocations: 43.8 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.4537, allocations: 51.77 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.4538, allocations: 15.98 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.6e-05/0.4538, allocations: 12 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.4539, allocations: 19.92 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.454, allocations: 47.78 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.4543, allocations: 139.7 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4543, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.457e-06/0.4543, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.4543, allocations: 0 / 1.329 GB, free: 15.26 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001055/0.4554, allocations: 354 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.4555, allocations: 12.03 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.4555, allocations: 384 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.162e-05/0.4556, allocations: 42.69 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.4556, allocations: 12.89 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.4559, allocations: 142.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.4559, allocations: 8.562 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.456, allocations: 15.94 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.4565, allocations: 127 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4565, allocations: 0 / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.4566, allocations: 0 / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4566, allocations: 4 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.4573, allocations: 135.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.4581, allocations: 347.8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.4587, allocations: 102.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.459, allocations: 60.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.4591, allocations: 11.88 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4591, allocations: 30.56 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/0.4591, allocations: 3.938 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.001077/0.4602, allocations: 213.5 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.4602, allocations: 55.34 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.4604, allocations: 128.2 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.4604, allocations: 25.7 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4605, allocations: 116 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.4606, allocations: 27.75 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.4606, allocations: 21.72 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4608, allocations: 318.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.4611, allocations: 59.88 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.4614, allocations: 65.66 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.462, allocations: 125.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.462, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008358/0.4628, allocations: 161.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4629, allocations: 8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4629, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4629, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.4632, allocations: 35.91 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4632, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.4634, allocations: 28 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.4634, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.000163/0.4636, allocations: 123 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.4636, allocations: 7.953 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.4637, allocations: 12.72 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4637, allocations: 3.938 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4637, allocations: 3.984 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.4637, allocations: 3.984 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.464, allocations: 164.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.464, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.4642, allocations: 31.97 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.4642, allocations: 3.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.4642, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4642, allocations: 3.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4642, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.465, allocations: 259.2 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.465, allocations: 11.89 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.465, allocations: 192 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.4653, allocations: 27.91 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.4653, allocations: 11.92 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.4654, allocations: 8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000114/0.4655, allocations: 95.27 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4655, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004136/0.4659, allocations: 20 kB / 1.332 GB, free: 11.46 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 (8): * Single equations (assignments): 8 * 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.001348/0.4672, allocations: 0.7787 MB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008682/0.4681, allocations: 128.4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4681, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.4685, allocations: 63.88 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.4691, allocations: 34.45 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.4731, allocations: 1.639 MB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.4732, allocations: 84.19 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.489e-05/0.4733, allocations: 8 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/0.4734, allocations: 31.42 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.4734, allocations: 0 / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.5052, allocations: 2.72 MB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.03, allocations: 14.02 kB / 1.338 GB, free: 6.043 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.992001747014]