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.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.001773/0.001773, allocations: 114.5 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.002412/0.002412, allocations: 217 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 8 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.376/3.376, allocations: 0.49 GB / 0.7951 GB, free: 33.33 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.PIDGain,fileNamePrefix="Buildings_12_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_12_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.002057/0.002057, allocations: 72.95 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4467, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002464/0.4492, allocations: 0.8755 MB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.4505, allocations: 0.8861 MB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.4506, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.4507, allocations: 7.875 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.4508, allocations: 23.78 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.236e-05/0.4509, allocations: 31.97 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.4511, allocations: 115.7 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.4512, allocations: 37.28 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.4514, allocations: 47.8 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.4515, allocations: 59.75 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.4515, allocations: 12 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.162e-05/0.4515, allocations: 8 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.4516, allocations: 23.92 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.4516, allocations: 55.72 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.4518, allocations: 131.7 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4518, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4518, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4518, allocations: 0 / 1.328 GB, free: 15.65 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007092/0.4526, allocations: 366 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4526, allocations: 8.031 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.4527, allocations: 46.69 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.4527, allocations: 8.891 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.4529, allocations: 148.3 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4529, allocations: 4.562 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.453, allocations: 8.375 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.4533, allocations: 135.2 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4534, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.4534, allocations: 8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4534, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.4538, allocations: 127.9 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.4545, allocations: 375.6 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.4549, allocations: 102.6 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.4551, allocations: 68.73 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.4551, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.4551, allocations: 34.56 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 4.108e-06/0.4551, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0007567/0.4559, allocations: 197.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.4559, allocations: 55.41 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.4561, allocations: 134 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4561, allocations: 25.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.4562, allocations: 112 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4562, allocations: 27.73 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.4563, allocations: 21.72 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4564, allocations: 322.8 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.4566, allocations: 59.88 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.4568, allocations: 65.81 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.4572, allocations: 125.6 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4572, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004581/0.4577, allocations: 157.5 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4577, allocations: 8.031 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4577, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4577, allocations: 3.984 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4579, allocations: 31.97 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.4579, allocations: 3.938 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.458, allocations: 19.98 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.458, allocations: 3.984 kB / 1.331 GB, free: 12.68 MB / 1.029 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 9.6e-05/0.4581, allocations: 126.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.4582, allocations: 11.95 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.4582, allocations: 16.72 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4582, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4582, allocations: 3.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4582, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.4584, allocations: 184.6 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4584, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.4586, allocations: 27.97 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4586, allocations: 4 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4586, allocations: 192 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4586, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4586, allocations: 11.88 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.4591, allocations: 251.3 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.4592, allocations: 15.88 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4592, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.4593, allocations: 15.98 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4594, allocations: 11.92 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.4594, allocations: 7.984 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.05e-05/0.4594, allocations: 101.2 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4594, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002258/0.4597, allocations: 20 kB / 1.332 GB, free: 11.82 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 (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.0008201/0.4605, allocations: 0.7831 MB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.461, allocations: 123.9 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.461, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.4612, allocations: 67.94 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.4616, allocations: 19.08 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.4641, allocations: 1.648 MB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.4644, allocations: 0.7002 MB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.026e-05/0.4644, allocations: 11.98 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.4645, allocations: 27.42 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.4645, allocations: 0 / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4954, allocations: 2.584 MB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.14, allocations: 15.39 kB / 1.337 GB, free: 5.895 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_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_PIDGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.csv. Warning: Get data of variable L.y from file Buildings_12_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.46341068699985]