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.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.001369/0.001369, 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.001601/0.001601, allocations: 218.5 kB / 22.24 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.785 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.323/3.323, allocations: 0.49 GB / 0.7951 GB, free: 35.37 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.PIGain,fileNamePrefix="Buildings_12_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_12_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.002075/0.002075, allocations: 66.73 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4119, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002659/0.4146, allocations: 0.9404 MB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.4159, allocations: 0.9094 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.416, allocations: 4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.434e-05/0.4161, allocations: 15.8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.4162, allocations: 19.8 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.4163, allocations: 51.94 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.4165, allocations: 176.1 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.4168, allocations: 77.05 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.4169, allocations: 67.77 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.417, allocations: 79.67 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/0.417, allocations: 16 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.417, allocations: 20 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.4171, allocations: 35.86 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.4172, allocations: 63.72 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.4174, allocations: 227 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4175, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4175, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.4175, allocations: 0 / 1.329 GB, free: 14.79 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007653/0.4182, allocations: 394 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4183, allocations: 11.97 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.798e-05/0.4183, allocations: 50.73 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.4184, allocations: 16.84 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.4186, allocations: 154.6 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4186, allocations: 16.7 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.4186, allocations: 16.38 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.4191, allocations: 180.8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4191, allocations: 7.922 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4191, allocations: 7.984 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4191, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.4197, allocations: 176.1 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.4204, allocations: 447.3 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.4208, allocations: 145.7 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.4211, allocations: 80.78 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.4211, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.4211, allocations: 34.56 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.4211, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008946/0.422, allocations: 249.5 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.4221, allocations: 55.41 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.4222, allocations: 126.1 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.4222, allocations: 29.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.4223, allocations: 136.1 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4224, allocations: 47.59 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.4224, allocations: 29.72 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4226, allocations: 330.7 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.4228, allocations: 67.94 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.4231, allocations: 96.12 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.4235, allocations: 162.7 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4235, allocations: 0 / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005696/0.4241, allocations: 200.7 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4241, allocations: 8 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4241, allocations: 3.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4241, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.4244, allocations: 43.95 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4244, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4245, allocations: 28 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.4245, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 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.0001247/0.4247, allocations: 138.2 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.4247, allocations: 7.953 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.4247, allocations: 12.78 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4247, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4247, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4247, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.425, allocations: 212.5 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.425, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.4252, allocations: 35.97 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4252, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.4252, allocations: 7.984 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4252, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4252, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.4258, allocations: 295.3 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.4258, allocations: 3.953 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.4258, allocations: 4 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.426, allocations: 19.97 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.426, allocations: 11.97 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.426, allocations: 8 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.495e-05/0.4261, allocations: 97.94 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4261, allocations: 3.938 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002553/0.4263, allocations: 35.89 kB / 1.333 GB, free: 10.33 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 (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.000928/0.4273, allocations: 0.8216 MB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005753/0.4279, allocations: 155.8 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4279, allocations: 3.938 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.4281, allocations: 80.44 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.4285, allocations: 23.16 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.4315, allocations: 1.835 MB / 1.335 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.4317, allocations: 98.81 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.151e-05/0.4318, allocations: 16.33 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.4318, allocations: 47.42 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of SimCode: time 9.22e-07/0.4319, allocations: 4 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.4638, allocations: 3.358 MB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.66, allocations: 6.391 kB / 1.339 GB, free: 3.953 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_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_PIGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.76511715099332]