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.0007833/0.0007833, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008094/0.0008094, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9071/0.9071, allocations: 177.1 MB / 202.8 MB, free: 5.543 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.809/1.809, allocations: 389 MB / 0.633 GB, free: 12.67 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 3.247e-06/3.247e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.363e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001605/0.001629, allocations: 0.9159 MB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009245/0.002553, allocations: 0.9172 MB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.834e-05/0.002622, allocations: 4 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.002664, allocations: 15.8 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.763e-05/0.002751, allocations: 15.81 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.859e-05/0.00284, allocations: 55.92 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.002986, allocations: 172.1 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.003143, allocations: 72.88 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.003249, allocations: 95.8 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.00331, allocations: 51.84 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.003339, allocations: 27.94 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.003353, allocations: 20 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.00338, allocations: 39.84 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.003415, allocations: 43.91 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.003592, allocations: 239.1 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003594, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003595, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003599, allocations: 0 / 1.002 GB, free: 10.8 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.0004654/0.004064, allocations: 398 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.004105, allocations: 9.344 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.004147, allocations: 54.67 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.004176, allocations: 16.84 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.004335, allocations: 149.9 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.00435, allocations: 12.7 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.004366, allocations: 16.38 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.004646, allocations: 188.7 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.004655, allocations: 192 / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.004669, allocations: 8.359 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.004678, allocations: 8.125 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.004969, allocations: 176.1 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.00547, allocations: 451.3 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.005683, allocations: 142.4 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.005827, allocations: 84.78 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.00584, allocations: 7.938 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.005858, allocations: 34.56 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.005859, allocations: 0 / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0004483/0.006308, allocations: 248.7 kB / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.006336, allocations: 55.41 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.006412, allocations: 136.6 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.006424, allocations: 25.7 kB / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.006482, allocations: 132.3 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.006504, allocations: 35.66 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.006543, allocations: 37.66 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.006616, allocations: 318.8 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.006737, allocations: 71.94 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.006867, allocations: 86.45 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.007114, allocations: 170.7 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.007117, allocations: 3.938 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002755/0.007392, allocations: 197.5 kB / 1.005 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.007404, allocations: 4 kB / 1.005 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007408, allocations: 4.062 kB / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.007419, allocations: 0 / 1.005 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.007532, allocations: 47.84 kB / 1.005 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.007537, allocations: 0 / 1.005 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.0076, allocations: 27.86 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.007608, allocations: 8 kB / 1.006 GB, free: 7.289 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 7.031e-05/0.007678, allocations: 125.8 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.007694, allocations: 11.89 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.007721, allocations: 20.77 kB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.007725, allocations: 4 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.019e-05/0.007795, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.007798, allocations: 0 / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.007958, allocations: 204.6 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007959, allocations: 0 / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.008043, allocations: 31.97 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008046, allocations: 4 kB / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.008054, allocations: 4 kB / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.008056, allocations: 4 kB / 1.006 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008057, allocations: 0 / 1.006 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.008355, allocations: 295.2 kB / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.008365, allocations: 7.953 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.008378, allocations: 4 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.00845, allocations: 23.97 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.008494, allocations: 11.98 kB / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.008499, allocations: 7.938 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.008541, allocations: 105.6 kB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008542, allocations: 0 / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001701/0.008712, allocations: 31.89 kB / 1.006 GB, free: 6.336 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.0004602/0.009172, allocations: 0.827 MB / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.009459, allocations: 151.8 kB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009461, allocations: 128 / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.009586, allocations: 83.94 kB / 1.007 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.009821, allocations: 25.73 kB / 1.007 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.01134, allocations: 1.85 MB / 1.009 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.967e-05/0.0114, allocations: 98.92 kB / 1.009 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.01144, allocations: 8.5 kB / 1.009 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.01151, allocations: 44.48 kB / 1.009 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01151, allocations: 0 / 1.009 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.02577, allocations: 3.458 MB / 1.013 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.693, allocations: 7.969 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.89562008343637]