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.000747/0.000747, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007984/0.0007984, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8692/0.8692, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.738/1.738, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/2.065e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001347/0.001368, allocations: 0.811 MB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.002199, allocations: 0.8783 MB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.002251, allocations: 0 / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.002293, allocations: 7.875 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/0.002382, allocations: 27.72 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.273e-05/0.002455, allocations: 31.97 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.002579, allocations: 115.7 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.002704, allocations: 37.28 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.0028, allocations: 67.88 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.002853, allocations: 39.81 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.002879, allocations: 12 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.00289, allocations: 16 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.002913, allocations: 23.92 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.002945, allocations: 31.91 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.003076, allocations: 147.4 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003078, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003079, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.003083, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 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.0004366/0.00352, allocations: 354.1 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.003559, allocations: 13.34 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.003592, allocations: 38.73 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.003618, allocations: 16.84 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.003762, allocations: 133.8 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.003773, allocations: 12.55 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.003786, allocations: 12.38 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.004004, allocations: 122.3 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.004011, allocations: 4 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.004023, allocations: 4 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004029, allocations: 4 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.004277, allocations: 119.9 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.004685, allocations: 351.8 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.004915, allocations: 102.6 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.005035, allocations: 64.8 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.005047, allocations: 8 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.005062, allocations: 30.56 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.005063, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0004224/0.005486, allocations: 209.4 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.005513, allocations: 55.41 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.005588, allocations: 136.4 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005599, allocations: 25.7 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.005651, allocations: 116.2 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.005666, allocations: 15.8 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.0057, allocations: 33.66 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.005772, allocations: 322.8 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.00588, allocations: 51.94 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.005995, allocations: 73.59 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.006213, allocations: 121.9 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006215, allocations: 4 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002451/0.00646, allocations: 165.5 kB / 1.004 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.006472, allocations: 4 kB / 1.004 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.006478, allocations: 0 / 1.004 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.006488, allocations: 0 / 1.004 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.006572, allocations: 36 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.006576, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.006632, allocations: 23.91 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.006639, allocations: 4 kB / 1.005 GB, free: 8.246 MB / 0.9636 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 6.099e-05/0.0067, allocations: 121.8 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.006714, allocations: 3.953 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.006736, allocations: 24.75 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006737, allocations: 0 / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.006741, allocations: 4 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006743, allocations: 0 / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.00687, allocations: 172.6 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006871, allocations: 0 / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.00694, allocations: 35.91 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.006941, allocations: 0 / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.006949, allocations: 0 / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.006951, allocations: 4 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006951, allocations: 0 / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.007222, allocations: 251.3 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.007229, allocations: 3.953 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.007242, allocations: 8 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.007307, allocations: 19.91 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.007349, allocations: 11.98 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.007352, allocations: 4 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.00739, allocations: 101.8 kB / 1.005 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00739, allocations: 4 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001669/0.007557, allocations: 23.83 kB / 1.005 GB, free: 7.402 MB / 0.9636 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.0006744/0.008231, allocations: 0.7904 MB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.008488, allocations: 115.8 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008489, allocations: 0 / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.008601, allocations: 64 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.00883, allocations: 16.17 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.0102, allocations: 1.66 MB / 1.008 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.046e-05/0.01025, allocations: 84.33 kB / 1.008 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.01029, allocations: 7.984 kB / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.01034, allocations: 36.48 kB / 1.008 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.01034, allocations: 3.938 kB / 1.008 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.02441, allocations: 3.203 MB / 1.011 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.682, allocations: 6.875 kB / 1.011 GB, free: 1.52 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.817692530341446]