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.PIIntegralTime.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.001322/0.001322, 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.00157/0.00157, allocations: 214.8 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.631/1.631, 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 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.243/3.243, allocations: 0.49 GB / 0.7951 GB, free: 33.28 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.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",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.002074/0.002074, allocations: 69.58 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4343, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002567/0.4369, allocations: 0.991 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.4382, allocations: 0.9016 MB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.154e-05/0.4383, allocations: 4 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.379e-05/0.4383, allocations: 15.8 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.4384, allocations: 19.8 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.4385, allocations: 47.95 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.4387, allocations: 156.2 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.439, allocations: 83.39 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4391, allocations: 55.84 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.4392, allocations: 71.62 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.4392, allocations: 20 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.4393, allocations: 19.94 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.4393, allocations: 31.92 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.4394, allocations: 71.66 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.4397, allocations: 220 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4397, allocations: 0 / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4397, allocations: 3.938 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.4397, allocations: 3.938 kB / 1.329 GB, free: 15.27 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006475/0.4403, allocations: 377.7 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4404, allocations: 8.031 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.4404, allocations: 50.73 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.4405, allocations: 16.84 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4407, allocations: 154.3 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4407, allocations: 8.375 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.4407, allocations: 16.38 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.4411, allocations: 166.3 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4411, allocations: 3.938 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4412, allocations: 7.984 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4412, allocations: 8 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.4416, allocations: 143.9 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.4424, allocations: 471 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.4429, allocations: 158.6 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4431, allocations: 76.81 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.4431, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4431, allocations: 38.56 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.4431, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006477/0.4438, allocations: 216 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.4438, allocations: 59.34 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4439, allocations: 125.8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.444, allocations: 29.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.4441, allocations: 120.2 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.4441, allocations: 51.59 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.4442, allocations: 25.7 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4443, allocations: 318.8 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.4445, allocations: 51.95 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.4447, allocations: 60.2 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.445, allocations: 127.7 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.445, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004078/0.4454, allocations: 161.5 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4454, allocations: 8 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4454, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4455, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.4456, allocations: 35.97 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4456, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.665e-05/0.4457, allocations: 19.92 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.4458, allocations: 8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.0001164/0.4459, allocations: 126.3 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.4459, allocations: 15.94 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.446, allocations: 12.44 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.446, allocations: 7.875 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.446, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.446, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.4463, allocations: 216.5 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4463, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.4465, allocations: 35.98 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.4465, allocations: 11.98 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.4465, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4465, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4465, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.447, allocations: 279.3 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.447, allocations: 7.891 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.447, allocations: 4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.4471, allocations: 15.98 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.4472, allocations: 7.969 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.4472, allocations: 8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.4473, allocations: 95.2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4473, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002487/0.4475, allocations: 27.95 kB / 1.332 GB, free: 11.09 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 (14): * Single equations (assignments): 14 * 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.0008419/0.4484, allocations: 0.7982 MB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.4488, allocations: 135.8 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4488, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.449, allocations: 67.89 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4494, allocations: 17.72 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.4519, allocations: 1.709 MB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.4523, allocations: 0.7119 MB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.922e-05/0.4524, allocations: 16.34 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.4525, allocations: 35.42 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4525, allocations: 3.938 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.4824, allocations: 2.589 MB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.2, allocations: 11.34 kB / 1.338 GB, free: 5.051 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.413745501999074]