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.001484/0.001484, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001585/0.001585, allocations: 218 kB / 23.04 MB, free: 5.074 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.247/3.247, allocations: 0.49 GB / 0.7959 GB, free: 33.35 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="cs",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="cs",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.002239/0.002239, allocations: 65.88 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4311, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.00246/0.4335, allocations: 1.015 MB / 1.328 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.4348, allocations: 0.9172 MB / 1.329 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.4349, allocations: 4 kB / 1.329 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.332e-05/0.4349, allocations: 19.8 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.435, allocations: 19.84 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.4351, allocations: 55.88 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.4354, allocations: 168.1 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.4356, allocations: 81.03 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.4357, allocations: 67.78 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.4358, allocations: 67.69 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.4359, allocations: 20 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/0.4359, allocations: 20 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.4359, allocations: 47.84 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.436, allocations: 71.59 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.4363, allocations: 223.1 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4363, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4363, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.4363, allocations: 0 / 1.329 GB, free: 15.18 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008046/0.4371, allocations: 405.9 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4372, allocations: 8.031 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.772e-05/0.4372, allocations: 4.516 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.4373, allocations: 54.73 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.4373, allocations: 16.84 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.4376, allocations: 158.5 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.4376, allocations: 12.7 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.4376, allocations: 16.38 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.4381, allocations: 188.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4381, allocations: 3.938 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4381, allocations: 4 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4382, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/0.4387, allocations: 179.8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.4395, allocations: 483.2 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.4399, allocations: 138.4 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.4402, allocations: 88.78 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4402, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.4403, allocations: 30.56 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.4403, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008925/0.4412, allocations: 250.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.4412, allocations: 51.41 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.4413, allocations: 131.9 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.4414, allocations: 33.64 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4415, allocations: 132.2 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.4415, allocations: 47.59 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.4416, allocations: 29.7 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4417, allocations: 318.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.442, allocations: 67.92 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.4422, allocations: 102.5 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.4427, allocations: 169.9 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4427, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005652/0.4433, allocations: 197.5 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4433, allocations: 9.875 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4433, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4433, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.4436, allocations: 43.97 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4436, allocations: 3.938 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.4437, allocations: 23.92 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4437, allocations: 4 kB / 1.333 GB, free: 11.63 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.0001473/0.4439, allocations: 138.2 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.4439, allocations: 11.95 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.4439, allocations: 16.77 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.444, allocations: 0 / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.444, allocations: 4 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.444, allocations: 0 / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.4443, allocations: 220.5 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.4443, allocations: 0 / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.4445, allocations: 35.97 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4445, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.4445, allocations: 8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4445, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4445, allocations: 3.938 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.4452, allocations: 295.2 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.4452, allocations: 7.953 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.4453, allocations: 4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.4454, allocations: 19.97 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.4455, allocations: 11.98 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.4455, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001037/0.4456, allocations: 105.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4456, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002887/0.4459, allocations: 35.83 kB / 1.334 GB, free: 10.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 (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.001122/0.447, allocations: 0.8178 MB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005925/0.4476, allocations: 161.8 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4476, allocations: 128 / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.4479, allocations: 79.88 kB / 1.335 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.4484, allocations: 30.2 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.4513, allocations: 1.832 MB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.4517, allocations: 0.7158 MB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.981e-05/0.4518, allocations: 12.34 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.4519, allocations: 43.42 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/0.4519, allocations: 3.938 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.4766, allocations: 2.901 MB / 1.34 GB, free: 4.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.81, allocations: 12.14 kB / 1.34 GB, free: 4.105 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.955717565026134]