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.001385/0.001385, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.000973/0.000973, allocations: 169 kB / 23.02 MB, free: 1.547 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.9157/0.9157, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.123/2.123, allocations: 429.4 MB / 0.6732 GB, free: 4.043 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.914e-06/1.914e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/2.009e-05, allocations: 6.578 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.00144/0.00146, allocations: 0.8664 MB / 0.879 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000825/0.002285, allocations: 0.8908 MB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.002331, allocations: 5.062 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.002365, allocations: 11.86 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.002454, allocations: 20.92 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.484e-05/0.002518, allocations: 35.95 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.002632, allocations: 115.6 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.002746, allocations: 38.48 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.00285, allocations: 71.77 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.002905, allocations: 39.88 kB / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.002929, allocations: 15.34 kB / 0.8803 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.00294, allocations: 8 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.002965, allocations: 23.92 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.002998, allocations: 31.91 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.00311, allocations: 79.66 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003112, allocations: 0 / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003112, allocations: 0 / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003116, allocations: 0 / 0.8804 GB, free: 4.055 MB / 0.8386 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.0004472/0.003563, allocations: 440.9 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.003607, allocations: 13.59 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.003662, allocations: 16.89 kB / 0.8808 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.003815, allocations: 148.4 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.003826, allocations: 4.562 kB / 0.881 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.003841, allocations: 9.844 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.004048, allocations: 109.5 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004055, allocations: 0 / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.004067, allocations: 1.5 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.004075, allocations: 0 / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.004144, allocations: 35.91 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.004571, allocations: 371.5 kB / 0.8815 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.004731, allocations: 63.16 kB / 0.8815 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.004771, allocations: 19.69 kB / 0.8816 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.004783, allocations: 4 kB / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004802, allocations: 33.39 kB / 0.8816 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.004803, allocations: 0 / 0.8816 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001828/0.004986, allocations: 85.72 kB / 0.8817 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.005013, allocations: 51.41 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.005101, allocations: 192.6 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.005113, allocations: 25.7 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.005175, allocations: 154.7 kB / 0.8821 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.005193, allocations: 31.73 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.005229, allocations: 27.38 kB / 0.8821 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.00534, allocations: 0.4884 MB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.005366, allocations: 8 kB / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.005405, allocations: 35.3 kB / 0.8827 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.98e-05/0.005465, allocations: 47.31 kB / 0.8827 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.005467, allocations: 4 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.576e-05/0.005563, allocations: 73.58 kB / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005574, allocations: 8 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005579, allocations: 0 / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.00559, allocations: 7.922 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.005661, allocations: 19.98 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.005667, allocations: 4 kB / 0.8828 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.005705, allocations: 15.94 kB / 0.8828 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005711, allocations: 4 kB / 0.8828 GB, free: 1.328 MB / 0.8386 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.611e-05/0.005777, allocations: 172.5 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.005795, allocations: 11.95 kB / 0.883 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.00582, allocations: 8.781 kB / 0.883 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.005822, allocations: 4 kB / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.005826, allocations: 0 / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.005828, allocations: 0 / 0.883 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.005951, allocations: 152.5 kB / 0.8832 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005952, allocations: 0 / 0.8832 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.006002, allocations: 19.98 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006005, allocations: 3.984 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.006013, allocations: 8 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.006015, allocations: 4 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006015, allocations: 0 / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.006141, allocations: 219.8 kB / 0.8834 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.006149, allocations: 3.953 kB / 0.8834 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.006161, allocations: 4 kB / 0.8834 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.69e-05/0.006208, allocations: 11.98 kB / 0.8834 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.006251, allocations: 11.98 kB / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.006254, allocations: 0 / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.006298, allocations: 139.2 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006298, allocations: 4 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001474/0.006445, allocations: 19.94 kB / 0.8836 GB, free: 484 kB / 0.8386 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 6.663e-05/0.006512, allocations: 103.2 kB / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.006627, allocations: 47.59 kB / 0.8837 GB, free: 320 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006628, allocations: 0 / 0.8837 GB, free: 320 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.006663, allocations: 20.31 kB / 0.8838 GB, free: 296 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.006873, allocations: 28.14 kB / 0.8838 GB, free: 268 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.007207, allocations: 206.8 kB / 0.884 GB, free: 28 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.921e-05/0.007257, allocations: 71.14 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.007292, allocations: 11.98 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.007327, allocations: 16.44 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.007328, allocations: 0 / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.002806/0.01013, allocations: 1.398 MB / 0.8855 GB, free: 14.58 MB / 0.8542 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.199017439968884]