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.PIGain.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.001641/0.001641, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001638/0.001638, allocations: 217 kB / 22.25 MB, free: 5.082 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.992 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.358/3.358, allocations: 0.49 GB / 0.7951 GB, free: 33.32 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.PIGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",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.00208/0.00208, allocations: 69.2 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4046, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002919/0.4075, allocations: 1.006 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.409, allocations: 0.9172 MB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.4091, allocations: 0 / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.2e-05/0.4092, allocations: 19.86 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.4094, allocations: 23.78 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.4095, allocations: 51.94 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.4097, allocations: 172 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.4099, allocations: 82.86 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.4101, allocations: 67.72 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.4102, allocations: 75.69 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.4103, allocations: 16 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.4103, allocations: 20 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.4103, allocations: 39.84 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.822e-05/0.4104, allocations: 83.59 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.4107, allocations: 215.1 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4107, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4107, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4107, allocations: 7.938 kB / 1.329 GB, free: 15.16 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008535/0.4116, allocations: 394 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4116, allocations: 16.03 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.543e-05/0.4117, allocations: 46.73 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.4117, allocations: 16.84 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.412, allocations: 162.5 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.412, allocations: 12.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.412, allocations: 20.36 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.4125, allocations: 180.7 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4126, allocations: 7.938 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.4126, allocations: 8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.4126, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.4132, allocations: 172.1 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.4139, allocations: 487.2 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.4143, allocations: 134.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.4146, allocations: 88.78 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.4146, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4146, allocations: 34.56 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.4146, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008244/0.4154, allocations: 252.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.4155, allocations: 55.41 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.4156, allocations: 126.1 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.4156, allocations: 29.7 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.4157, allocations: 124.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.4158, allocations: 47.59 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.4158, allocations: 33.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.416, allocations: 330.8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.4162, allocations: 63.94 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.4165, allocations: 97.12 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.417, allocations: 166.6 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.417, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005321/0.4175, allocations: 201.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4175, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4175, allocations: 7.984 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4175, allocations: 4.062 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.4178, allocations: 35.97 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.4178, allocations: 7.875 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.4179, allocations: 31.92 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.4179, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001292/0.4181, allocations: 130.2 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.4181, allocations: 11.95 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.4181, allocations: 20.77 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4181, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4182, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4182, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.4184, allocations: 220.5 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4184, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.4186, allocations: 43.91 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4186, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4186, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4186, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4186, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.4192, allocations: 297.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.4192, allocations: 11.95 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.4193, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4194, allocations: 19.97 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.4195, allocations: 11.98 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.4195, allocations: 4 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.684e-05/0.4196, allocations: 95.27 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4196, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002563/0.4198, allocations: 35.88 kB / 1.333 GB, free: 10.64 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 (13): * Single equations (assignments): 13 * 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.0009108/0.4207, allocations: 0.8294 MB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005495/0.4213, allocations: 155.8 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4213, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.4215, allocations: 89.62 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.4219, allocations: 15.98 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.4247, allocations: 1.832 MB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.4251, allocations: 0.7119 MB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.027e-05/0.4251, allocations: 20.28 kB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.475e-05/0.4252, allocations: 47.42 kB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4252, allocations: 3.938 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.4561, allocations: 2.871 MB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 11.75 kB / 1.339 GB, free: 4.105 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.874509557848796]