Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001389/0.001389, allocations: 107.6 kB / 16.45 MB, free: 6.453 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: 216.2 kB / 19.43 MB, free: 3.625 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.298/3.298, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",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.002122/0.002122, allocations: 68.7 kB / 1.172 GB, free: 17.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.391, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002863/0.3939, allocations: 1.357 MB / 1.349 GB, free: 8.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3954, allocations: 1.034 MB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.3955, allocations: 7.938 kB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.089e-05/0.3956, allocations: 31.59 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3957, allocations: 31.67 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.3959, allocations: 115.9 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.3962, allocations: 340.6 kB / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.3965, allocations: 182.2 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.3967, allocations: 139.5 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.3968, allocations: 131.4 kB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.3969, allocations: 44 kB / 1.351 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.018e-05/0.397, allocations: 48 kB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.397, allocations: 83.77 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3972, allocations: 155.3 kB / 1.351 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.3977, allocations: 0.5331 MB / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.3977, allocations: 4 kB / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3977, allocations: 0 / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3977, allocations: 4 kB / 1.352 GB, free: 5.73 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009355/0.3987, allocations: 0.577 MB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3987, allocations: 11.98 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.085e-05/0.3988, allocations: 74.72 kB / 1.353 GB, free: 5.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.3989, allocations: 28.75 kB / 1.353 GB, free: 4.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3992, allocations: 284.5 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.3992, allocations: 25.03 kB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.3993, allocations: 32.31 kB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.3999, allocations: 314.6 kB / 1.353 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4, allocations: 3.938 kB / 1.353 GB, free: 4.289 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.4, allocations: 12 kB / 1.353 GB, free: 4.277 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4, allocations: 8 kB / 1.353 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.4008, allocations: 286.4 kB / 1.353 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.402, allocations: 0.8701 MB / 1.354 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.4027, allocations: 259.3 kB / 1.355 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.403, allocations: 132.8 kB / 1.355 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.403, allocations: 4 kB / 1.355 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.4031, allocations: 38.5 kB / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.744e-06/0.4031, allocations: 0 / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001135/0.4042, allocations: 366.4 kB / 1.355 GB, free: 2.262 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4043, allocations: 63.28 kB / 1.355 GB, free: 2.188 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.4044, allocations: 143.8 kB / 1.355 GB, free: 2.039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.4044, allocations: 33.7 kB / 1.355 GB, free: 2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4045, allocations: 168.5 kB / 1.355 GB, free: 1.832 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.4046, allocations: 83.28 kB / 1.356 GB, free: 1.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.4047, allocations: 41.94 kB / 1.356 GB, free: 1.699 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4048, allocations: 322.8 kB / 1.356 GB, free: 1.375 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.4051, allocations: 100.4 kB / 1.356 GB, free: 1.277 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.4055, allocations: 123.4 kB / 1.356 GB, free: 1.148 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.4061, allocations: 234.4 kB / 1.356 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4061, allocations: 0 / 1.356 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007347/0.4068, allocations: 278.2 kB / 1.357 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4069, allocations: 4 kB / 1.357 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4069, allocations: 4 kB / 1.357 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4069, allocations: 0 / 1.357 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.4072, allocations: 67.89 kB / 1.357 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4072, allocations: 3.938 kB / 1.357 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.4074, allocations: 35.86 kB / 1.357 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4074, allocations: 4 kB / 1.357 GB, free: 0.5156 MB / 1.045 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 (27): * Single equations (assignments): 27 * 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.0001376/0.4075, allocations: 145.9 kB / 1.357 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.4075, allocations: 15.91 kB / 1.357 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/0.4076, allocations: 29.17 kB / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4076, allocations: 3.938 kB / 1.357 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4076, allocations: 0 / 1.357 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4076, allocations: 4 kB / 1.357 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.4081, allocations: 353.2 kB / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4081, allocations: 0 / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.4083, allocations: 63.95 kB / 1.357 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4084, allocations: 4 kB / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.4084, allocations: 8 kB / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4084, allocations: 3.938 kB / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4084, allocations: 0 / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007383/0.4091, allocations: 375.4 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.4092, allocations: 100.9 kB / 1.358 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.4092, allocations: 4 kB / 1.358 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.4094, allocations: 23.92 kB / 1.358 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.4095, allocations: 19.97 kB / 1.358 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.4095, allocations: 4 kB / 1.358 GB, free: 15.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.4096, allocations: 111.2 kB / 1.358 GB, free: 15.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4096, allocations: 0 / 1.358 GB, free: 15.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003009/0.4099, allocations: 63.73 kB / 1.358 GB, free: 15.11 MB / 1.061 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 (25): * Single equations (assignments): 25 * 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.001083/0.4109, allocations: 0.9035 MB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006912/0.4116, allocations: 236.1 kB / 1.359 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4116, allocations: 4.125 kB / 1.359 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.412, allocations: 119.8 kB / 1.359 GB, free: 13.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.4123, allocations: 23.94 kB / 1.359 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.4159, allocations: 2.276 MB / 1.361 GB, free: 11.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.4162, allocations: 0.7591 MB / 1.362 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.648e-05/0.4163, allocations: 17.55 kB / 1.362 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4165, allocations: 67.42 kB / 1.362 GB, free: 10.57 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.4165, allocations: 0 / 1.362 GB, free: 10.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.4441, allocations: 3.596 MB / 1.366 GB, free: 7.168 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/8.875, allocations: 1.953 kB / 1.366 GB, free: 7.168 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_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_Validation_PI.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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: 15.922336728079244]