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.001097/0.001097, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00107/0.00107, allocations: 173 kB / 23.49 MB, free: 1.055 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.9797/0.9797, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.133/2.133, allocations: 429.5 MB / 0.6736 GB, free: 4.012 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.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 1.854e-06/1.854e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.99e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001433/0.001453, allocations: 0.9722 MB / 0.8792 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.002288, allocations: 0.9364 MB / 0.8801 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.002346, allocations: 4 kB / 0.8801 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.002383, allocations: 18.58 kB / 0.8801 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.002469, allocations: 11.81 kB / 0.8801 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.33e-05/0.002552, allocations: 55.94 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.002694, allocations: 172.1 kB / 0.8803 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.002843, allocations: 68.89 kB / 0.8804 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.002962, allocations: 99.84 kB / 0.8805 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.003022, allocations: 48.53 kB / 0.8805 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.00305, allocations: 20 kB / 0.8806 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.003063, allocations: 17.66 kB / 0.8806 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.003091, allocations: 43.89 kB / 0.8806 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.003132, allocations: 51.83 kB / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003256, allocations: 119.5 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.003258, allocations: 0 / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003259, allocations: 0.5 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.003263, allocations: 1.688 kB / 0.8808 GB, free: 3.914 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004169/0.00368, allocations: 484.3 kB / 0.8812 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.003715, allocations: 12.53 kB / 0.8813 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.003761, allocations: 30.14 kB / 0.8813 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.003904, allocations: 164.6 kB / 0.8814 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.003917, allocations: 8.703 kB / 0.8814 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.003931, allocations: 16.38 kB / 0.8815 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.004129, allocations: 147 kB / 0.8816 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.004135, allocations: 192 / 0.8816 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.004147, allocations: 4.375 kB / 0.8816 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.004155, allocations: 8.375 kB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.004251, allocations: 64.16 kB / 0.8817 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.004701, allocations: 455.2 kB / 0.8821 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.004825, allocations: 95.03 kB / 0.8822 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.004879, allocations: 43.64 kB / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.004893, allocations: 7.938 kB / 0.8822 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.004913, allocations: 41.33 kB / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.004914, allocations: 8 kB / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002068/0.005121, allocations: 113.2 kB / 0.8824 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.005146, allocations: 51.41 kB / 0.8825 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.005228, allocations: 189.8 kB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.005239, allocations: 29.7 kB / 0.8827 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.005304, allocations: 179 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.005327, allocations: 43.64 kB / 0.8829 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.005364, allocations: 31.38 kB / 0.8829 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.005475, allocations: 0.4923 MB / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.005509, allocations: 15.98 kB / 0.8834 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.00556, allocations: 62.5 kB / 0.8835 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.005638, allocations: 71.31 kB / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00564, allocations: 0 / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000115/0.005755, allocations: 109.5 kB / 0.8836 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.005766, allocations: 4 kB / 0.8836 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.005771, allocations: 7.938 kB / 0.8836 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.005781, allocations: 0 / 0.8836 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.005877, allocations: 31.92 kB / 0.8837 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.005882, allocations: 8.062 kB / 0.8837 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.005925, allocations: 23.88 kB / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.005931, allocations: 0 / 0.8837 GB, free: 0.6914 MB / 0.8386 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.054e-05/0.006012, allocations: 164.5 kB / 0.8839 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.006033, allocations: 15.89 kB / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.006064, allocations: 16.77 kB / 0.8839 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.006067, allocations: 4 kB / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.006071, allocations: 4 kB / 0.8839 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006075, allocations: 0 / 0.8839 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.006199, allocations: 172.5 kB / 0.8841 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.0062, allocations: 0 / 0.8841 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.006262, allocations: 27.98 kB / 0.8841 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006263, allocations: 3.938 kB / 0.8841 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.006272, allocations: 4 kB / 0.8841 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006273, allocations: 4 kB / 0.8841 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006274, allocations: 0 / 0.8841 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.006432, allocations: 250.6 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.006441, allocations: 11.89 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.006453, allocations: 3.938 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.006502, allocations: 19.98 kB / 0.8844 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.006549, allocations: 15.97 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.006553, allocations: 4 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.006595, allocations: 135.2 kB / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006595, allocations: 0 / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001496/0.006745, allocations: 35.89 kB / 0.8846 GB, free: 15.75 MB / 0.8542 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 6.416e-05/0.006809, allocations: 95.25 kB / 0.8846 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.006934, allocations: 67.59 kB / 0.8847 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006935, allocations: 8.125 kB / 0.8847 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.006982, allocations: 43.61 kB / 0.8848 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.007181, allocations: 19.98 kB / 0.8848 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.007582, allocations: 286.8 kB / 0.8851 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.007619, allocations: 67.34 kB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.007655, allocations: 12.42 kB / 0.8851 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.007688, allocations: 16.5 kB / 0.8851 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.007689, allocations: 0 / 0.8851 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.002733/0.01042, allocations: 1.44 MB / 0.8866 GB, free: 13.72 MB / 0.8542 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 -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.647235895041376]