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.001339/0.001339, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001602/0.001602, allocations: 214.4 kB / 22.25 MB, free: 5.262 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 / 256 MB, free: 7.777 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.3/3.3, allocations: 0.4892 GB / 0.7944 GB, free: 35.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.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.00212/0.00212, allocations: 65.5 kB / 1.153 GB, free: 25.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.432, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002862/0.4349, allocations: 0.9007 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.4363, allocations: 0.9055 MB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.4364, allocations: 0 / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.696e-05/0.4365, allocations: 15.8 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.4366, allocations: 19.81 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.4367, allocations: 47.94 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.437, allocations: 152.2 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.4372, allocations: 69.38 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.4373, allocations: 71.72 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4375, allocations: 59.69 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.4375, allocations: 20 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.921e-05/0.4375, allocations: 16 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.4376, allocations: 35.91 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.4376, allocations: 55.67 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.438, allocations: 211.2 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.438, allocations: 3.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.438, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.438, allocations: 0 / 1.328 GB, free: 15.79 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.0007464/0.4387, allocations: 385.7 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4388, allocations: 8.031 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.55e-05/0.4388, allocations: 50.73 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.4389, allocations: 12.84 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.4391, allocations: 150.3 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.4392, allocations: 12.38 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.4392, allocations: 16.38 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.4396, allocations: 170.3 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.4396, allocations: 7.938 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.4396, allocations: 8 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4397, allocations: 4 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.4401, allocations: 143.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.4408, allocations: 447.1 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.4413, allocations: 154.5 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.4416, allocations: 76.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.4416, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4416, allocations: 34.56 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.4416, allocations: 4 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0007079/0.4423, allocations: 214.6 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4424, allocations: 55.41 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.4425, allocations: 121.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4425, allocations: 25.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.4426, allocations: 124.2 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.4426, allocations: 47.64 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.4427, allocations: 29.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4428, allocations: 318.8 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.443, allocations: 51.95 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.4432, allocations: 60.2 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.4436, allocations: 132.7 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4436, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004267/0.444, allocations: 165.5 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.444, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.444, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.444, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.4442, allocations: 43.97 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4442, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.4443, allocations: 15.92 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4444, allocations: 4 kB / 1.331 GB, free: 12.57 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.0001214/0.4445, allocations: 138.2 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.4445, allocations: 7.953 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.4446, allocations: 12.44 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4446, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4446, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4446, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.4449, allocations: 204.6 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4449, allocations: 0 / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.445, allocations: 35.97 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.445, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4451, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4451, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4451, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.4455, allocations: 279.3 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.4456, allocations: 15.88 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.4456, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4457, allocations: 15.98 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4458, allocations: 7.984 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.4458, allocations: 11.94 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.354e-05/0.4458, allocations: 91.27 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4458, allocations: 4 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002549/0.4461, allocations: 27.95 kB / 1.331 GB, free: 11.65 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.0008395/0.4469, allocations: 0.8021 MB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004315/0.4474, allocations: 134.3 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4474, allocations: 3.938 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.4476, allocations: 63.95 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.4479, allocations: 23.58 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.4506, allocations: 1.711 MB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.4507, allocations: 101.6 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.636e-05/0.4508, allocations: 8.359 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.4508, allocations: 39.42 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4508, allocations: 0 / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.4827, allocations: 3.004 MB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.95, allocations: 3.938 kB / 1.337 GB, free: 5.824 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.94998379610479]