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.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.001797/0.001797, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002381/0.002381, allocations: 216.5 kB / 22.25 MB, free: 5.113 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.671/1.671, allocations: 230.6 MB / 256 MB, free: 8.023 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.406/3.406, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.PIGain,fileNamePrefix="Buildings_latest_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_latest_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.002762/0.002762, allocations: 71.42 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4368, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002419/0.4392, allocations: 1.005 MB / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.4406, allocations: 0.9133 MB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.4406, allocations: 0 / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.533e-05/0.4407, allocations: 15.8 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.4408, allocations: 23.8 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.4409, allocations: 51.94 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.4411, allocations: 168.1 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.4414, allocations: 85.03 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.4415, allocations: 63.78 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.4416, allocations: 79.67 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.4416, allocations: 16 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.722e-05/0.4417, allocations: 20 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.4417, allocations: 35.86 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.4418, allocations: 79.59 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.4421, allocations: 219.1 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4421, allocations: 0 / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4421, allocations: 0 / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.4421, allocations: 3.938 kB / 1.356 GB, free: 5.715 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008165/0.4429, allocations: 402 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.443, allocations: 12.03 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.443, allocations: 50.73 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.4431, allocations: 24.73 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.4433, allocations: 154.6 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4433, allocations: 16.7 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.4433, allocations: 12.38 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.4438, allocations: 184.7 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4438, allocations: 7.875 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.4438, allocations: 8 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.4439, allocations: 4 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.4444, allocations: 180.1 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007963/0.4452, allocations: 483.2 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.4456, allocations: 130.5 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.4458, allocations: 88.78 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.4458, allocations: 3.938 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4459, allocations: 34.56 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.4459, allocations: 0 / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0008248/0.4467, allocations: 252.1 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4468, allocations: 59.41 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4469, allocations: 127.7 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4469, allocations: 25.7 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.447, allocations: 136.2 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.447, allocations: 35.66 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.4471, allocations: 37.7 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4472, allocations: 326.8 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.4475, allocations: 67.94 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.4477, allocations: 104.6 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.4482, allocations: 154.5 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4482, allocations: 4 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005248/0.4487, allocations: 201.5 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4487, allocations: 4 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4487, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4488, allocations: 4.062 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.449, allocations: 43.91 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4491, allocations: 3.984 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.4492, allocations: 23.94 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.4492, allocations: 4 kB / 1.359 GB, free: 2.164 MB / 1.045 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.0001299/0.4494, allocations: 126.4 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.4494, allocations: 11.94 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.4494, allocations: 20.72 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4494, allocations: 7.938 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.4494, allocations: 0 / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4494, allocations: 0 / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.4497, allocations: 228.4 kB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4497, allocations: 0 / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.4499, allocations: 39.97 kB / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4499, allocations: 0 / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4499, allocations: 0 / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4499, allocations: 4 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4499, allocations: 3.984 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.4505, allocations: 293.6 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.4505, allocations: 7.953 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.4505, allocations: 4 kB / 1.36 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.4507, allocations: 19.97 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.4507, allocations: 7.984 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.4508, allocations: 8 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.228e-05/0.4508, allocations: 99.25 kB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4508, allocations: 0 / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002526/0.4511, allocations: 31.89 kB / 1.36 GB, free: 1.203 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 (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.000956/0.452, allocations: 0.8294 MB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000522/0.4526, allocations: 154 kB / 1.361 GB, free: 204 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4526, allocations: 3.938 kB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.4528, allocations: 80.06 kB / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.4532, allocations: 22.02 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.456, allocations: 1.838 MB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4563, allocations: 0.7119 MB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.514e-05/0.4564, allocations: 16.34 kB / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4565, allocations: 47.42 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.4565, allocations: 0 / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.4863, allocations: 2.884 MB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.33, allocations: 9.109 kB / 1.366 GB, free: 10.66 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_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_PIGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.80780301499999]