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.001333/0.001333, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00148/0.00148, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.793 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.384/3.384, allocations: 0.505 GB / 0.8101 GB, free: 23.46 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.002086/0.002086, allocations: 64.14 kB / 1.177 GB, free: 16.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 180.2 MB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002089/0.3586, allocations: 0.8257 MB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3598, allocations: 0.8743 MB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.3599, allocations: 0 / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.877e-05/0.3599, allocations: 11.86 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.36, allocations: 15.81 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.386e-05/0.3601, allocations: 35.95 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3603, allocations: 115.7 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3604, allocations: 45.27 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/0.3605, allocations: 43.84 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.3606, allocations: 51.77 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3606, allocations: 12 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.421e-05/0.3607, allocations: 12 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.3607, allocations: 23.92 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.3607, allocations: 43.8 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3609, allocations: 143.6 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3609, allocations: 0 / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3609, allocations: 0 / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3609, allocations: 0 / 1.355 GB, free: 5.656 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006879/0.3616, allocations: 358 kB / 1.355 GB, free: 5.273 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3617, allocations: 12.03 kB / 1.355 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.3617, allocations: 42.73 kB / 1.355 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3618, allocations: 12.89 kB / 1.355 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.362, allocations: 149.4 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.362, allocations: 0.5625 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.362, allocations: 16.36 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.3624, allocations: 130.7 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3624, allocations: 0 / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3624, allocations: 0 / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3624, allocations: 7.984 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.3629, allocations: 127.9 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.3635, allocations: 343.8 kB / 1.356 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.3639, allocations: 106.6 kB / 1.356 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.3641, allocations: 68.8 kB / 1.356 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3641, allocations: 0 / 1.356 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3642, allocations: 30.56 kB / 1.356 GB, free: 4.148 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 9.11e-07/0.3642, allocations: 0 / 1.356 GB, free: 4.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007997/0.365, allocations: 217.6 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.365, allocations: 51.41 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3652, allocations: 134 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3652, allocations: 25.7 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.3653, allocations: 112.1 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3653, allocations: 31.73 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.3654, allocations: 21.7 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3655, allocations: 318.8 kB / 1.357 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.3658, allocations: 55.94 kB / 1.357 GB, free: 3.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.366, allocations: 65.66 kB / 1.357 GB, free: 3.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.3664, allocations: 129.5 kB / 1.357 GB, free: 2.941 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3664, allocations: 0 / 1.357 GB, free: 2.941 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005234/0.367, allocations: 157.5 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.367, allocations: 8.031 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.367, allocations: 0 / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.367, allocations: 4 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3672, allocations: 35.91 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3672, allocations: 3.938 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3673, allocations: 23.92 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3673, allocations: 0 / 1.358 GB, free: 2.707 MB / 1.045 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.0001194/0.3674, allocations: 129.8 kB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.3675, allocations: 11.94 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.3675, allocations: 8.719 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3675, allocations: 0 / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3675, allocations: 11.94 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3675, allocations: 0 / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.3677, allocations: 164.7 kB / 1.358 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3677, allocations: 0 / 1.358 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.3679, allocations: 27.97 kB / 1.358 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3679, allocations: 3.938 kB / 1.358 GB, free: 2.305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3679, allocations: 12 kB / 1.358 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3679, allocations: 0 / 1.358 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3679, allocations: 3.938 kB / 1.358 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.3685, allocations: 247.4 kB / 1.358 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.3685, allocations: 11.89 kB / 1.358 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3685, allocations: 0 / 1.358 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3686, allocations: 24.16 kB / 1.358 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.3687, allocations: 11.92 kB / 1.358 GB, free: 1.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3687, allocations: 7.938 kB / 1.358 GB, free: 1.977 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001107/0.3688, allocations: 101.1 kB / 1.358 GB, free: 1.879 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3688, allocations: 0 / 1.358 GB, free: 1.879 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002462/0.3691, allocations: 19.95 kB / 1.358 GB, free: 1.859 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 (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.0008788/0.3699, allocations: 0.7943 MB / 1.359 GB, free: 1.039 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.3705, allocations: 115.8 kB / 1.359 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3705, allocations: 4.062 kB / 1.359 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.3707, allocations: 59.94 kB / 1.359 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3711, allocations: 26.38 kB / 1.359 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.3738, allocations: 1.647 MB / 1.361 GB, free: 15.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.3739, allocations: 80.2 kB / 1.361 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.325e-05/0.374, allocations: 11.98 kB / 1.361 GB, free: 14.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.374, allocations: 27.44 kB / 1.361 GB, free: 14.96 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/0.374, allocations: 0 / 1.361 GB, free: 14.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.4034, allocations: 3.123 MB / 1.364 GB, free: 12.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.64, allocations: 3.938 kB / 1.364 GB, free: 12.03 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: 18.722310910001397]