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.001305/0.001305, allocations: 76.94 kB / 19.94 MB, free: 4.539 MB / 18.57 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.001341/0.001341, allocations: 173 kB / 23.36 MB, free: 1.125 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 1.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.469 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 2.538/2.538, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/3.021e-05, allocations: 4.562 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002687/0.002717, allocations: 0.9933 MB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004112, allocations: 0.9325 MB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.004192, allocations: 4 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.542e-05/0.004247, allocations: 15.8 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.004387, allocations: 27.67 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.004506, allocations: 51.94 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.004716, allocations: 172.2 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.00491, allocations: 74.17 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.005094, allocations: 99.78 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.005186, allocations: 55.81 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.005219, allocations: 16 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.39e-05/0.005243, allocations: 24 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.005281, allocations: 35.89 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.005336, allocations: 51.83 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.005522, allocations: 122 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.005527, allocations: 4 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.262e-06/0.005528, allocations: 0 / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.005534, allocations: 0 / 0.8413 GB, free: 11.44 MB / 0.8073 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.0005171/0.006051, allocations: 356.6 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.006095, allocations: 8.625 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.006153, allocations: 32.92 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.00634, allocations: 137.5 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.006358, allocations: 12.7 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.006379, allocations: 12.38 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.006656, allocations: 145.4 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.006668, allocations: 4.125 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.006683, allocations: 8.375 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.006693, allocations: 4.375 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.006781, allocations: 44.45 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.007353, allocations: 315.7 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.007499, allocations: 78.55 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.007551, allocations: 32.83 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.007565, allocations: 4 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.007593, allocations: 34.56 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.007595, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002093/0.007804, allocations: 89.8 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.007839, allocations: 55.41 kB / 0.8426 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.007933, allocations: 137.3 kB / 0.8427 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.007948, allocations: 25.7 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.008018, allocations: 124.3 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.00805, allocations: 39.64 kB / 0.8429 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.008106, allocations: 33.69 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.008209, allocations: 322.8 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.00824, allocations: 8 kB / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.008291, allocations: 38.55 kB / 0.8433 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.008383, allocations: 61.98 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.008386, allocations: 0 / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001404/0.008526, allocations: 77.61 kB / 0.8434 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.008546, allocations: 14.12 kB / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.008553, allocations: 0 / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.008569, allocations: 0 / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.008717, allocations: 39.91 kB / 0.8435 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.00872, allocations: 0 / 0.8435 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.008783, allocations: 19.88 kB / 0.8435 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.008794, allocations: 12.06 kB / 0.8435 GB, free: 8.988 MB / 0.8073 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.032e-05/0.008874, allocations: 113.8 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.008907, allocations: 8 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.008942, allocations: 20.7 kB / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008945, allocations: 4 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.008947, allocations: 0 / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.008951, allocations: 0 / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.009136, allocations: 117.7 kB / 0.8437 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009138, allocations: 0 / 0.8437 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.009254, allocations: 39.92 kB / 0.8438 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.009256, allocations: 0 / 0.8438 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.009265, allocations: 0 / 0.8438 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.009267, allocations: 0 / 0.8438 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.009273, allocations: 7.922 kB / 0.8438 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.009449, allocations: 179.5 kB / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.00946, allocations: 3.953 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.009474, allocations: 4 kB / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.00956, allocations: 7.984 kB / 0.844 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.009615, allocations: 19.92 kB / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.009623, allocations: 4 kB / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.009654, allocations: 28.02 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009654, allocations: 4 kB / 0.844 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002356/0.00989, allocations: 31.89 kB / 0.8441 GB, free: 8.367 MB / 0.8073 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.0001138/0.01, allocations: 80.41 kB / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.01014, allocations: 60.77 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.01014, allocations: 0 / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.01019, allocations: 36.16 kB / 0.8442 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01045, allocations: 31.56 kB / 0.8443 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.01098, allocations: 281 kB / 0.8445 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.01103, allocations: 67.34 kB / 0.8446 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.602e-05/0.0111, allocations: 16.47 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.01119, allocations: 67.36 kB / 0.8447 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.01119, allocations: 0 / 0.8447 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of Templates: time 0.004244/0.01544, allocations: 1.381 MB / 0.846 GB, free: 6.359 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.502230919897556]