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.PIDGain.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.001686/0.001686, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001973/0.001973, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.116/2.116, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8782 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002755/0.0002775, allocations: 6.469 kB / 0.8782 GB, free: 5.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001422/0.0017, allocations: 0.8448 MB / 0.8791 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.002535, allocations: 0.8977 MB / 0.8799 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.002592, allocations: 0 / 0.8799 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.349e-05/0.002636, allocations: 15.8 kB / 0.8799 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.002742, allocations: 22.48 kB / 0.88 GB, free: 3.715 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.475e-05/0.002817, allocations: 31.95 kB / 0.88 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.002939, allocations: 120.6 kB / 0.8801 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003055, allocations: 37.27 kB / 0.8801 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.003159, allocations: 60.95 kB / 0.8802 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.003221, allocations: 43.81 kB / 0.8802 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.003244, allocations: 12 kB / 0.8803 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.003255, allocations: 13.59 kB / 0.8803 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.003278, allocations: 19.92 kB / 0.8803 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.003311, allocations: 35.91 kB / 0.8803 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003423, allocations: 83.66 kB / 0.8804 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003426, allocations: 1.5 kB / 0.8804 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003426, allocations: 0 / 0.8804 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.003431, allocations: 0 / 0.8804 GB, free: 3.27 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004055/0.003837, allocations: 447.4 kB / 0.8808 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.003872, allocations: 8.031 kB / 0.8808 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.003915, allocations: 20.89 kB / 0.8809 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.004071, allocations: 144.6 kB / 0.881 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.004081, allocations: 8.5 kB / 0.881 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.004094, allocations: 8.375 kB / 0.881 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.004267, allocations: 107.9 kB / 0.8811 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004274, allocations: 7.969 kB / 0.8811 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.004285, allocations: 1.656 kB / 0.8811 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.004293, allocations: 0 / 0.8811 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.004363, allocations: 31.92 kB / 0.8812 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.004807, allocations: 368.9 kB / 0.8815 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.004974, allocations: 63.11 kB / 0.8816 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.005019, allocations: 27.67 kB / 0.8816 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.005029, allocations: 4 kB / 0.8816 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.005049, allocations: 33.39 kB / 0.8816 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.005051, allocations: 0 / 0.8816 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of matching and sorting (n=8): time 0.0001837/0.005235, allocations: 85.72 kB / 0.8817 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.005265, allocations: 51.41 kB / 0.8818 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.00535, allocations: 189.4 kB / 0.8819 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005361, allocations: 25.7 kB / 0.882 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.005419, allocations: 154.7 kB / 0.8821 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.005442, allocations: 27.75 kB / 0.8821 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.005475, allocations: 31.36 kB / 0.8822 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.005577, allocations: 0.4922 MB / 0.8826 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.005606, allocations: 11.98 kB / 0.8827 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.005642, allocations: 27.38 kB / 0.8827 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.07e-05/0.005702, allocations: 51.3 kB / 0.8827 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005704, allocations: 0 / 0.8827 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.45e-05/0.005799, allocations: 77.58 kB / 0.8828 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.005811, allocations: 4 kB / 0.8828 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005815, allocations: 4 kB / 0.8828 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.005826, allocations: 4.031 kB / 0.8828 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.005894, allocations: 19.98 kB / 0.8828 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.005899, allocations: 0 / 0.8828 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.005936, allocations: 15.98 kB / 0.8829 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.005942, allocations: 4 kB / 0.8829 GB, free: 0.5391 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.278e-05/0.006004, allocations: 160.5 kB / 0.883 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.006023, allocations: 11.95 kB / 0.883 GB, free: 368 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.006047, allocations: 8.781 kB / 0.883 GB, free: 356 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006049, allocations: 3.938 kB / 0.883 GB, free: 352 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.006053, allocations: 15.92 kB / 0.8831 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006056, allocations: 0 / 0.8831 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.006173, allocations: 156.4 kB / 0.8832 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006174, allocations: 0 / 0.8832 GB, free: 144 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.006224, allocations: 19.98 kB / 0.8832 GB, free: 124 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006225, allocations: 0 / 0.8832 GB, free: 124 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.006233, allocations: 4 kB / 0.8832 GB, free: 120 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006234, allocations: 0 / 0.8832 GB, free: 120 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.006235, allocations: 4 kB / 0.8832 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.006379, allocations: 215.8 kB / 0.8834 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.006388, allocations: 7.953 kB / 0.8834 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.006407, allocations: 7.984 kB / 0.8834 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.006487, allocations: 8 kB / 0.8835 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.006537, allocations: 15.92 kB / 0.8835 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.006541, allocations: 0 / 0.8835 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.006589, allocations: 143.2 kB / 0.8836 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006589, allocations: 0 / 0.8836 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001514/0.006741, allocations: 19.94 kB / 0.8836 GB, free: 15.68 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 (8): * Single equations (assignments): 8 * 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 7.559e-05/0.006816, allocations: 99.25 kB / 0.8837 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.006932, allocations: 51.59 kB / 0.8838 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006933, allocations: 0 / 0.8838 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.006968, allocations: 24.3 kB / 0.8838 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.007182, allocations: 28.08 kB / 0.8838 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.007538, allocations: 220.7 kB / 0.884 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.007577, allocations: 64.05 kB / 0.8841 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.007613, allocations: 4 kB / 0.8841 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.007645, allocations: 12.5 kB / 0.8841 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.007646, allocations: 4 kB / 0.8841 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.003108/0.01075, allocations: 1.302 MB / 0.8854 GB, free: 13.89 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.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.4427026100456715]