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.PIIntegralTime.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.001405/0.001405, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001643/0.001643, allocations: 221.2 kB / 22.25 MB, free: 5.102 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.797 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.277/3.277, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",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.002127/0.002127, allocations: 70.33 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3932, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002405/0.3956, allocations: 0.9068 MB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3968, allocations: 0.9016 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.375e-05/0.3968, allocations: 4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.177e-05/0.3969, allocations: 19.73 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.045e-05/0.397, allocations: 7.875 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.3971, allocations: 55.94 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3973, allocations: 160.1 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.3975, allocations: 77.38 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3976, allocations: 55.84 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.3977, allocations: 67.62 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.3977, allocations: 20 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.3977, allocations: 16 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.3978, allocations: 39.91 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.3979, allocations: 55.73 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3981, allocations: 211.1 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3981, allocations: 0 / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3981, allocations: 4 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5e-06/0.3981, allocations: 0 / 1.328 GB, free: 14.9 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006781/0.3988, allocations: 385.7 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3989, allocations: 12.03 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.399, allocations: 46.73 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.399, allocations: 16.84 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3993, allocations: 150.3 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3993, allocations: 16.38 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.3993, allocations: 20.31 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.3997, allocations: 174.2 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3997, allocations: 3.938 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.3997, allocations: 4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3997, allocations: 4 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.4001, allocations: 143.9 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.4009, allocations: 435.1 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.4014, allocations: 154.6 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.4016, allocations: 76.81 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.4016, allocations: 3.938 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4017, allocations: 38.55 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4017, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006812/0.4023, allocations: 210.8 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.4025, allocations: 55.41 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4026, allocations: 125.8 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4026, allocations: 25.7 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.4027, allocations: 116.3 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.4027, allocations: 51.62 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.4028, allocations: 29.7 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4029, allocations: 318.8 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4031, allocations: 51.95 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4033, allocations: 60.14 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.4037, allocations: 132.6 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4037, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000421/0.4041, allocations: 161.5 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4041, allocations: 8 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4041, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4041, allocations: 4 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4043, allocations: 39.91 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.4043, allocations: 7.922 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.4044, allocations: 23.92 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.4045, allocations: 0 / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.0001265/0.4046, allocations: 134.3 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.4046, allocations: 11.95 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.4047, allocations: 16.44 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4047, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4047, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4047, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.405, allocations: 200.6 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.405, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.4051, allocations: 39.91 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4051, allocations: 3.984 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4051, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4051, allocations: 11.94 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4051, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.4056, allocations: 267.4 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.4057, allocations: 15.88 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.4057, allocations: 4 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.4058, allocations: 11.98 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.4059, allocations: 7.984 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4059, allocations: 12 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.4059, allocations: 95.64 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4059, allocations: 4 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002682/0.4062, allocations: 23.95 kB / 1.332 GB, free: 10.75 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 (14): * Single equations (assignments): 14 * 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.0009183/0.4071, allocations: 0.8021 MB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.4075, allocations: 133.1 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4075, allocations: 0 / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.4077, allocations: 67.89 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.4081, allocations: 19.98 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.4106, allocations: 1.712 MB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.4107, allocations: 101.5 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.4107, allocations: 12.36 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.4108, allocations: 39.42 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4108, allocations: 0 / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.4426, allocations: 3.055 MB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.63, allocations: 4.156 kB / 1.338 GB, free: 4.875 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_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_PIIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.702580587007105]