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.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.001854/0.001854, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002579/0.002579, allocations: 222.6 kB / 22.25 MB, free: 5.109 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.493/1.493, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.425/3.425, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",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.002181/0.002181, allocations: 71.86 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3493, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002064/0.3514, allocations: 0.8434 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3524, allocations: 0.8705 MB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.3525, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.3525, allocations: 7.875 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.905e-05/0.3526, allocations: 23.8 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.154e-05/0.3527, allocations: 31.97 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3528, allocations: 115.8 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.353, allocations: 33.3 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.353, allocations: 55.77 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.153e-05/0.3531, allocations: 39.77 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.3531, allocations: 12 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.3532, allocations: 12 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.3532, allocations: 23.92 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.3532, allocations: 43.73 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3534, allocations: 135.7 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3534, allocations: 4 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3534, allocations: 0 / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3534, allocations: 3.938 kB / 1.366 GB, free: 11.85 MB / 1.061 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.0006431/0.3541, allocations: 362 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3541, allocations: 8.031 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.3541, allocations: 38.75 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.3542, allocations: 12.84 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.3544, allocations: 146.5 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3544, allocations: 8.562 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3544, allocations: 8.375 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3548, allocations: 130 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3548, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3548, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3548, allocations: 3.938 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.3553, allocations: 127.9 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.3559, allocations: 347.7 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.3563, allocations: 106.6 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.3565, allocations: 64.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.3565, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3566, allocations: 30.56 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.3566, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0007634/0.3573, allocations: 201.5 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3574, allocations: 63.33 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3575, allocations: 122.1 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3575, allocations: 33.7 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.3576, allocations: 108 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3576, allocations: 39.88 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.3576, allocations: 21.66 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3578, allocations: 322.8 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.358, allocations: 51.94 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.3582, allocations: 65.66 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.3587, allocations: 125.6 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3587, allocations: 0 / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005037/0.3592, allocations: 161.5 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3592, allocations: 4 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3592, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3592, allocations: 4 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3594, allocations: 27.97 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3594, allocations: 3.938 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.3595, allocations: 35.89 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3595, allocations: 4 kB / 1.368 GB, free: 8.898 MB / 1.061 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.0001046/0.3596, allocations: 113.8 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3597, allocations: 7.953 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3597, allocations: 12.72 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3597, allocations: 4 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3597, allocations: 3.938 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3597, allocations: 3.984 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.3599, allocations: 160.7 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.36, allocations: 4 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.3601, allocations: 35.91 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3601, allocations: 4 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3601, allocations: 4 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3601, allocations: 3.984 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3601, allocations: 3.938 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.3607, allocations: 255.3 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.3607, allocations: 15.88 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3607, allocations: 0 / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3609, allocations: 15.98 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.3609, allocations: 16.09 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.361, allocations: 4 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.397e-05/0.361, allocations: 105.5 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.361, allocations: 0 / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002427/0.3613, allocations: 23.95 kB / 1.369 GB, free: 8.047 MB / 1.061 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.000857/0.3621, allocations: 0.7792 MB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.3626, allocations: 128 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3626, allocations: 0 / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.3629, allocations: 68.02 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.3632, allocations: 23.98 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.3658, allocations: 1.642 MB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.655e-05/0.3659, allocations: 84.19 kB / 1.372 GB, free: 5.199 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.103e-05/0.366, allocations: 8 kB / 1.372 GB, free: 5.191 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.366, allocations: 31.42 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.366, allocations: 0 / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.3981, allocations: 3.071 MB / 1.375 GB, free: 2.285 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 8 kB / 1.375 GB, free: 2.277 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable L.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv. Warning: Get data of variable L.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.03400472505018]