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.001313/0.001313, allocations: 108.9 kB / 16.46 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.002404/0.002404, 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.522/1.522, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.282/3.282, allocations: 0.49 GB / 0.7916 GB, free: 33.58 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.002077/0.002077, allocations: 64.02 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3838, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002927/0.3867, allocations: 1.011 MB / 1.322 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3883, allocations: 0.9093 MB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3884, allocations: 4 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.116e-05/0.3885, allocations: 15.8 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.3887, allocations: 15.75 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.3888, allocations: 55.94 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.3891, allocations: 168.2 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.3893, allocations: 76.7 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3895, allocations: 75.7 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3896, allocations: 67.69 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.3896, allocations: 20 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.3897, allocations: 16 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.3897, allocations: 43.84 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.3898, allocations: 75.59 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.3901, allocations: 227 kB / 1.324 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3901, allocations: 0 / 1.324 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3901, allocations: 0 / 1.324 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3901, allocations: 0 / 1.324 GB, free: 0.6133 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.0008933/0.391, allocations: 479.1 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3911, allocations: 15.92 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.3911, allocations: 46.73 kB / 1.324 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.3912, allocations: 20.8 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3914, allocations: 212.5 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3915, allocations: 16.7 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.3915, allocations: 16.38 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.392, allocations: 184.6 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.392, allocations: 7.922 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.392, allocations: 8 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.392, allocations: 4 kB / 1.325 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.3926, allocations: 180.1 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/0.3935, allocations: 0.504 MB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.3939, allocations: 138.5 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3943, allocations: 80.8 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3943, allocations: 4 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.3943, allocations: 38.56 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3943, allocations: 0 / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0009263/0.3952, allocations: 250 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3953, allocations: 63.39 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3954, allocations: 124.9 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.3954, allocations: 29.7 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3956, allocations: 128.2 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.3956, allocations: 47.59 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.3957, allocations: 25.72 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3958, allocations: 322.8 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.3961, allocations: 75.94 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.3964, allocations: 90.5 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.3969, allocations: 164.3 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3969, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006322/0.3976, allocations: 201.5 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3976, allocations: 7.984 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3976, allocations: 0 / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3976, allocations: 0 / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3979, allocations: 39.97 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3979, allocations: 0 / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.398, allocations: 35.92 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.398, allocations: 7.938 kB / 1.327 GB, free: 12.86 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.0001382/0.3982, allocations: 132.6 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.3982, allocations: 7.953 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.3983, allocations: 12.84 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3983, allocations: 4 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.3983, allocations: 0 / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3983, allocations: 3.984 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.3986, allocations: 261.4 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3986, allocations: 0 / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.3988, allocations: 35.97 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3988, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3989, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3989, allocations: 7.875 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3989, allocations: 0 / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.3995, allocations: 293.6 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.3996, allocations: 85.06 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3996, allocations: 0 / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.3998, allocations: 23.97 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.3999, allocations: 11.98 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3999, allocations: 8 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.272e-05/0.4, allocations: 95.27 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002916/0.4003, allocations: 31.89 kB / 1.328 GB, free: 11.77 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.001161/0.4014, allocations: 0.8255 MB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006773/0.4021, allocations: 163.1 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4021, allocations: 0 / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.4024, allocations: 83.88 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.4028, allocations: 17.86 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.406, allocations: 1.83 MB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.4065, allocations: 0.7158 MB / 1.331 GB, free: 8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.977e-05/0.4065, allocations: 8.422 kB / 1.331 GB, free: 7.992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.4066, allocations: 47.42 kB / 1.332 GB, free: 7.945 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/0.4066, allocations: 0 / 1.332 GB, free: 7.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.4339, allocations: 2.758 MB / 1.334 GB, free: 5.383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/8.668, allocations: 15.52 kB / 1.334 GB, free: 5.367 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.499011491890997]