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.PIDDerivativeTime.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.001326/0.001326, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001547/0.001547, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.824 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.322/3.322, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 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.PIDDerivativeTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime",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.002142/0.002142, allocations: 67.52 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3938, allocations: 176.1 MB / 1.325 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002611/0.3964, allocations: 0.7804 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3978, allocations: 0.8627 MB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.3979, allocations: 4 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.398, allocations: 7.875 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.294e-05/0.3981, allocations: 11.86 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.377e-05/0.3981, allocations: 27.97 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3983, allocations: 95.77 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3985, allocations: 32.44 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3986, allocations: 39.86 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.3986, allocations: 43.77 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.3987, allocations: 8 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.3987, allocations: 8 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.3987, allocations: 15.98 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.3987, allocations: 31.81 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.399, allocations: 120.6 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.399, allocations: 0 / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.399, allocations: 0 / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.399, allocations: 0 / 1.327 GB, free: 204 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006045/0.3996, allocations: 326 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3996, allocations: 12.03 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.3997, allocations: 42.67 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3997, allocations: 12.89 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3999, allocations: 130.4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3999, allocations: 8.375 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3999, allocations: 8.375 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.4003, allocations: 115.6 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4003, allocations: 7.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4003, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4003, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.4007, allocations: 95.91 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.4012, allocations: 315.7 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.4015, allocations: 82.53 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.4016, allocations: 52.81 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4017, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.4017, allocations: 30.56 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4017, allocations: 3.938 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000616/0.4023, allocations: 165.5 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.4024, allocations: 55.34 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.4025, allocations: 109.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.4025, allocations: 29.7 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.4026, allocations: 104 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.4026, allocations: 31.88 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.4027, allocations: 21.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4028, allocations: 318.8 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.403, allocations: 39.95 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.4031, allocations: 39.97 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.4034, allocations: 88.72 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4034, allocations: 4 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003511/0.4038, allocations: 117.6 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4038, allocations: 4 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4038, allocations: 4 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4038, allocations: 3.984 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.404, allocations: 23.91 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.404, allocations: 8.547 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.4041, allocations: 7.984 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.4041, allocations: 8 kB / 1.329 GB, free: 13.62 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 (7): * Single equations (assignments): 7 * 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 9.963e-05/0.4042, allocations: 120.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.4043, allocations: 7.953 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.4043, allocations: 12.36 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4043, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4043, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4043, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.4045, allocations: 160.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4045, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4046, allocations: 23.97 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4047, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4047, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4047, allocations: 4.312 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4047, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.4051, allocations: 223.4 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.4051, allocations: 19.88 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4051, allocations: 3.938 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4052, allocations: 15.92 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.4053, allocations: 11.98 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.4053, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.4054, allocations: 87.28 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4054, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002292/0.4056, allocations: 15.94 kB / 1.33 GB, free: 12.85 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 (7): * Single equations (assignments): 7 * 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.0007585/0.4063, allocations: 0.7592 MB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.4067, allocations: 91.86 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4067, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.4069, allocations: 51.95 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.4073, allocations: 11.94 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.4095, allocations: 1.5 MB / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.334e-05/0.4096, allocations: 79.89 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.91e-05/0.4096, allocations: 7.984 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.4097, allocations: 23.44 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4097, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.4405, allocations: 2.638 MB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.1, allocations: 7.984 kB / 1.335 GB, free: 7.75 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_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_PIDDerivativeTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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: 19.005054952111095]