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.001429/0.001429, allocations: 102.1 kB / 16.45 MB, free: 6.449 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.001724/0.001724, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.356/3.356, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.002286/0.002286, allocations: 68.69 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3902, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002515/0.3927, allocations: 1.015 MB / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3941, allocations: 0.9133 MB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3942, allocations: 4 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.824e-05/0.3943, allocations: 11.81 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3944, allocations: 19.8 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.3946, allocations: 55.88 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.3948, allocations: 164.2 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.395, allocations: 77.7 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3951, allocations: 71.78 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3953, allocations: 71.67 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.3953, allocations: 20 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.3953, allocations: 23.94 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.3954, allocations: 35.91 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.3954, allocations: 71.61 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.3957, allocations: 227 kB / 1.324 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3957, allocations: 0 / 1.324 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3957, allocations: 3.938 kB / 1.324 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3958, allocations: 0 / 1.324 GB, free: 0.5898 MB / 1.014 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.0008746/0.3966, allocations: 475.1 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3967, allocations: 19.92 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.656e-05/0.3968, allocations: 50.78 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.3968, allocations: 20.8 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.397, allocations: 212.4 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3971, allocations: 16.64 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.3971, allocations: 16.38 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.3976, allocations: 184.7 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3976, allocations: 3.938 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3976, allocations: 8 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3976, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005775/0.3982, allocations: 172.1 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/0.399, allocations: 0.5079 MB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.3994, allocations: 142.5 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.3997, allocations: 87.92 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3997, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3997, allocations: 38.5 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3997, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0009135/0.4006, allocations: 241.5 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.4007, allocations: 59.41 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4008, allocations: 132.8 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4008, allocations: 25.7 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.4009, allocations: 128.2 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.401, allocations: 47.59 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.4011, allocations: 25.72 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4012, allocations: 326.8 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.4015, allocations: 67.94 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.4017, allocations: 94.44 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.4023, allocations: 162.7 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4023, allocations: 4 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005976/0.4029, allocations: 194.1 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4029, allocations: 4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4029, allocations: 4 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4029, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.4031, allocations: 47.83 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4031, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.4033, allocations: 31.94 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4033, allocations: 7.984 kB / 1.327 GB, free: 12.84 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.0001224/0.4034, allocations: 133.8 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.4034, allocations: 7.953 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.4035, allocations: 16.84 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4035, allocations: 0 / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4035, allocations: 0 / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4035, allocations: 3.938 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.4038, allocations: 265.3 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4038, allocations: 0 / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.404, allocations: 39.95 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.404, allocations: 0 / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.404, allocations: 4 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.404, allocations: 0 / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.404, allocations: 0 / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.4046, allocations: 289 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.4047, allocations: 81.06 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4047, allocations: 11.94 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.4049, allocations: 15.97 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.405, allocations: 15.98 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.405, allocations: 4 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.654e-05/0.405, allocations: 101.1 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.405, allocations: 0 / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002654/0.4053, allocations: 35.89 kB / 1.328 GB, free: 11.74 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.0009979/0.4063, allocations: 0.8216 MB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.4069, allocations: 165.7 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4069, allocations: 0 / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.4072, allocations: 75.88 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.4076, allocations: 19.92 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.4105, allocations: 1.833 MB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4109, allocations: 0.7158 MB / 1.331 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.466e-05/0.411, allocations: 12.41 kB / 1.331 GB, free: 7.961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.463e-05/0.4111, allocations: 51.36 kB / 1.332 GB, free: 7.91 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4111, allocations: 0 / 1.332 GB, free: 7.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.4379, allocations: 2.743 MB / 1.334 GB, free: 5.367 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/8.749, allocations: 15.64 kB / 1.334 GB, free: 5.352 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.863997200038284]