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.0018/0.0018, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.002243/0.002243, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 3.113/3.113, allocations: 0.505 GB / 0.8072 GB, free: 2.109 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [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.002203/0.002203, allocations: 67.91 kB / 1.173 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 180.2 MB / 1.349 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.003594/1.049, allocations: 1.008 MB / 1.35 GB, free: 4.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001846/1.05, allocations: 0.91 MB / 1.351 GB, free: 3.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/1.051, allocations: 2.438 kB / 1.351 GB, free: 3.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.908e-05/1.051, allocations: 15.28 kB / 1.351 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/1.051, allocations: 20.88 kB / 1.351 GB, free: 3.941 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/1.051, allocations: 52.44 kB / 1.351 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/1.052, allocations: 171.5 kB / 1.351 GB, free: 3.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/1.052, allocations: 81.38 kB / 1.351 GB, free: 3.777 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/1.052, allocations: 65.64 kB / 1.351 GB, free: 3.742 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/1.052, allocations: 71.77 kB / 1.351 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/1.052, allocations: 18.81 kB / 1.351 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.937e-05/1.052, allocations: 18.97 kB / 1.351 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/1.052, allocations: 42.73 kB / 1.351 GB, free: 3.672 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/1.053, allocations: 77.58 kB / 1.351 GB, free: 3.617 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004981/1.053, allocations: 220.6 kB / 1.352 GB, free: 3.539 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.053, allocations: 0.75 kB / 1.352 GB, free: 3.539 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.986e-06/1.053, allocations: 1.156 kB / 1.352 GB, free: 3.539 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.123e-05/1.053, allocations: 4 kB / 1.352 GB, free: 3.535 MB / 1.045 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.001044/1.054, allocations: 476.6 kB / 1.352 GB, free: 3.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.054, allocations: 13.59 kB / 1.352 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/1.054, allocations: 20.7 kB / 1.352 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/1.054, allocations: 210.9 kB / 1.352 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.054, allocations: 11.64 kB / 1.352 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/1.055, allocations: 18.53 kB / 1.352 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/1.055, allocations: 178.7 kB / 1.353 GB, free: 2.781 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.055, allocations: 0.7031 kB / 1.353 GB, free: 2.781 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/1.055, allocations: 13.02 kB / 1.353 GB, free: 2.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/1.055, allocations: 4.062 kB / 1.353 GB, free: 2.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/1.056, allocations: 178.2 kB / 1.353 GB, free: 2.723 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/1.057, allocations: 0.5098 MB / 1.353 GB, free: 2.328 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/1.057, allocations: 140.1 kB / 1.353 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/1.057, allocations: 81.3 kB / 1.353 GB, free: 2.238 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/1.057, allocations: 1.531 kB / 1.353 GB, free: 2.238 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/1.057, allocations: 45.8 kB / 1.353 GB, free: 2.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/1.057, allocations: 0 / 1.353 GB, free: 2.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0009072/1.058, allocations: 248.5 kB / 1.354 GB, free: 2.109 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/1.058, allocations: 57.31 kB / 1.354 GB, free: 2.043 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/1.059, allocations: 127.5 kB / 1.354 GB, free: 1.934 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.059, allocations: 30.95 kB / 1.354 GB, free: 1.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/1.059, allocations: 129.4 kB / 1.354 GB, free: 1.781 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/1.059, allocations: 41.62 kB / 1.354 GB, free: 1.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/1.059, allocations: 36.59 kB / 1.354 GB, free: 1.719 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/1.059, allocations: 323.9 kB / 1.354 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/1.059, allocations: 68.42 kB / 1.354 GB, free: 1.383 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/1.059, allocations: 92.7 kB / 1.355 GB, free: 1.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/1.06, allocations: 161.2 kB / 1.355 GB, free: 1.277 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/1.06, allocations: 0 / 1.355 GB, free: 1.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005867/1.06, allocations: 201.3 kB / 1.355 GB, free: 1.199 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.06, allocations: 4.844 kB / 1.355 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.06, allocations: 5.703 kB / 1.355 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.06, allocations: 1.25 kB / 1.355 GB, free: 1.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/1.061, allocations: 41.81 kB / 1.355 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.061, allocations: 2.188 kB / 1.355 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/1.061, allocations: 30.41 kB / 1.355 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/1.061, allocations: 7.281 kB / 1.355 GB, free: 1.176 MB / 1.045 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 8.498e-05/1.061, allocations: 131.8 kB / 1.355 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/1.061, allocations: 8.438 kB / 1.355 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/1.061, allocations: 15.61 kB / 1.355 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.061, allocations: 2.188 kB / 1.355 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.061, allocations: 4.609 kB / 1.355 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/1.061, allocations: 4.547 kB / 1.355 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/1.061, allocations: 256.6 kB / 1.355 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.061, allocations: 2.219 kB / 1.355 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/1.061, allocations: 37.56 kB / 1.355 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.061, allocations: 1.281 kB / 1.355 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/1.061, allocations: 0.6562 kB / 1.355 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/1.061, allocations: 1.281 kB / 1.355 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.061, allocations: 0 / 1.355 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/1.062, allocations: 292.2 kB / 1.356 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/1.062, allocations: 88.77 kB / 1.356 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/1.062, allocations: 2.141 kB / 1.356 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/1.062, allocations: 21.03 kB / 1.356 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/1.062, allocations: 17.02 kB / 1.356 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/1.062, allocations: 2.625 kB / 1.356 GB, free: 496 kB / 1.045 GB Notification: Performance of sorting global known variables: time 5.353e-05/1.062, allocations: 98.95 kB / 1.356 GB, free: 416 kB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/1.062, allocations: 0 / 1.356 GB, free: 416 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.000265/1.063, allocations: 33.05 kB / 1.356 GB, free: 404 kB / 1.045 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.0001204/1.063, allocations: 104.2 kB / 1.356 GB, free: 312 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006009/1.063, allocations: 158.2 kB / 1.356 GB, free: 276 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.063, allocations: 1.281 kB / 1.356 GB, free: 276 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/1.064, allocations: 86.05 kB / 1.356 GB, free: 252 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/1.064, allocations: 19.34 kB / 1.356 GB, free: 244 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/1.065, allocations: 311.1 kB / 1.357 GB, free: 8 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/1.065, allocations: 0.719 MB / 1.357 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/1.065, allocations: 18.34 kB / 1.357 GB, free: 15.29 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.065, allocations: 0 / 1.357 GB, free: 15.29 MB / 1.061 GB Notification: Performance of Templates: time 0.004601/1.07, allocations: 1.628 MB / 1.359 GB, free: 15.15 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 11.846819615995628]