Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001098/0.001098, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001107/0.001107, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9019/0.9019, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.507e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001393/0.001409, allocations: 0.922 MB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.002203, allocations: 0.925 MB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.002256, allocations: 0 / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.002294, allocations: 11.81 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.002374, allocations: 23.73 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.462e-05/0.002449, allocations: 51.94 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.002575, allocations: 176.1 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.002717, allocations: 69.69 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.002816, allocations: 95.84 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.002873, allocations: 59.8 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.002898, allocations: 23.94 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.002915, allocations: 20 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.002941, allocations: 35.84 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.002977, allocations: 47.91 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.003141, allocations: 239.1 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003142, allocations: 0 / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003143, allocations: 0 / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003147, allocations: 0 / 1.002 GB, free: 10.78 MB / 0.9636 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.000442/0.003589, allocations: 398 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.003625, allocations: 13.34 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.003661, allocations: 46.73 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.003687, allocations: 16.84 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.003831, allocations: 149.9 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.003843, allocations: 16.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.003859, allocations: 16.38 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.00412, allocations: 184.7 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.004127, allocations: 192 / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.00414, allocations: 12.31 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.004146, allocations: 4.125 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.004409, allocations: 176.1 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.004856, allocations: 451.3 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.005054, allocations: 138.4 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.005186, allocations: 84.8 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.005197, allocations: 0 / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.005214, allocations: 38.56 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.005215, allocations: 0 / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0004174/0.005633, allocations: 252.4 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.005661, allocations: 59.39 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.005729, allocations: 122.1 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.005739, allocations: 25.7 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.005792, allocations: 132.3 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.005813, allocations: 43.64 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.005847, allocations: 29.67 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.005916, allocations: 322.8 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.00603, allocations: 75.88 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.006156, allocations: 88.47 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.006387, allocations: 166.7 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.00639, allocations: 3.938 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002682/0.006658, allocations: 201.5 kB / 1.005 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.00667, allocations: 8.062 kB / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006674, allocations: 0 / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006684, allocations: 4 kB / 1.005 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.006796, allocations: 43.89 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.006801, allocations: 0 / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.006861, allocations: 31.8 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.00687, allocations: 8 kB / 1.006 GB, free: 7.273 MB / 0.9636 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 6.617e-05/0.006936, allocations: 125.8 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.006953, allocations: 15.95 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.006977, allocations: 16.78 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006979, allocations: 0 / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.006983, allocations: 0 / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.006986, allocations: 0 / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.007135, allocations: 204.6 kB / 1.006 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.007135, allocations: 0 / 1.006 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.007216, allocations: 47.89 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.007217, allocations: 0 / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.007224, allocations: 4 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.007225, allocations: 0 / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.007226, allocations: 0 / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.007509, allocations: 290.7 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.007516, allocations: 7.953 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.00753, allocations: 7.984 kB / 1.006 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.007595, allocations: 19.98 kB / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.007637, allocations: 15.97 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.007642, allocations: 0 / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.007679, allocations: 103.3 kB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007679, allocations: 0 / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001558/0.007835, allocations: 31.89 kB / 1.006 GB, free: 6.328 MB / 0.9636 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.0006042/0.008439, allocations: 0.8216 MB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.008715, allocations: 155.8 kB / 1.007 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.008716, allocations: 8.062 kB / 1.007 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.008837, allocations: 79.86 kB / 1.007 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.009058, allocations: 17.7 kB / 1.007 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.01055, allocations: 1.849 MB / 1.009 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.919e-05/0.01061, allocations: 98.92 kB / 1.009 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.23e-05/0.01065, allocations: 12.48 kB / 1.009 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.01071, allocations: 52.42 kB / 1.009 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01072, allocations: 0 / 1.009 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.02547, allocations: 3.451 MB / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.449/6.474, allocations: 7.922 kB / 1.013 GB, free: 15.89 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.5245725158602]