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.PIDIntegralTime.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.001888/0.001888, 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.001981/0.001981, allocations: 220.9 kB / 22.25 MB, free: 5.105 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.785 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.33/3.33, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",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.002056/0.002056, allocations: 66.05 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4055, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002194/0.4077, allocations: 0.8196 MB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.4089, allocations: 0.8743 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.4089, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.357e-05/0.409, allocations: 15.8 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.4091, allocations: 15.86 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.35e-05/0.4092, allocations: 31.97 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.4093, allocations: 115.8 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.4095, allocations: 41.56 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.4096, allocations: 47.78 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.4097, allocations: 55.77 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.4097, allocations: 12 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.899e-05/0.4097, allocations: 12 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.4097, allocations: 19.92 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.4098, allocations: 35.86 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.41, allocations: 147.6 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.41, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.442e-06/0.41, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.41, allocations: 0 / 1.328 GB, free: 15.24 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000619/0.4106, allocations: 349.8 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.4107, allocations: 8.031 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.4107, allocations: 42.75 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.4108, allocations: 8.891 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.411, allocations: 138.4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.411, allocations: 4.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.411, allocations: 8.375 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.4114, allocations: 127.3 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4114, allocations: 3.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4114, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.4114, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.4117, allocations: 103.9 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.4123, allocations: 359.4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.4127, allocations: 114.6 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.4129, allocations: 56.81 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.4129, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.413, allocations: 42.55 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.413, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006215/0.4136, allocations: 185.9 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4136, allocations: 51.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4137, allocations: 117.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4138, allocations: 29.7 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.4138, allocations: 100 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.4139, allocations: 35.69 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.4139, allocations: 21.72 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4141, allocations: 318.8 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.4142, allocations: 51.91 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.4144, allocations: 43.95 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.4147, allocations: 92.78 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4147, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003623/0.4151, allocations: 137.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4151, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4151, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.4151, allocations: 7.938 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.4153, allocations: 27.97 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4153, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.4154, allocations: 19.98 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.4154, allocations: 0 / 1.331 GB, free: 12.48 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 (9): * Single equations (assignments): 9 * 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.0001019/0.4155, allocations: 118.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.4155, allocations: 11.95 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.4156, allocations: 20.28 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4156, allocations: 4.281 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4156, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4156, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.4158, allocations: 172.6 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4158, allocations: 7.938 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4159, allocations: 27.98 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4159, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4159, allocations: 3.938 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4159, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4159, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.4164, allocations: 235.4 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.4164, allocations: 7.953 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4164, allocations: 11.92 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.4165, allocations: 15.98 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.4166, allocations: 3.984 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4166, allocations: 4 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.4166, allocations: 91.27 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4166, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002266/0.4169, allocations: 19.95 kB / 1.331 GB, free: 11.67 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 (9): * Single equations (assignments): 9 * 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.0007717/0.4176, allocations: 0.767 MB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.418, allocations: 107.8 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.418, allocations: 384 / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.4182, allocations: 55.89 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4186, allocations: 19.56 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.4209, allocations: 1.571 MB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.421, allocations: 81.31 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.939e-05/0.421, allocations: 11.98 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.4211, allocations: 23.44 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4211, allocations: 0 / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.4569, allocations: 2.8 MB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.57, allocations: 3.5 kB / 1.337 GB, free: 6.293 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_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_PIDIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.77624756100704]