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.001135/0.001135, allocations: 93.16 kB / 19.65 MB, free: 292 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.001301/0.001301, allocations: 168.9 kB / 23.01 MB, free: 1.566 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.9803/0.9803, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.171/2.171, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 4.278e-06/4.278e-06, allocations: 0 / 0.8782 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.318e-05/4.746e-05, allocations: 4.625 kB / 0.8782 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002738/0.002785, allocations: 0.8659 MB / 0.879 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.004098, allocations: 0.8946 MB / 0.8799 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.004166, allocations: 0 / 0.8799 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.213e-05/0.004218, allocations: 12.98 kB / 0.8799 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.004339, allocations: 15.88 kB / 0.8799 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.00444, allocations: 32.83 kB / 0.88 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.004605, allocations: 119.6 kB / 0.8801 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.004783, allocations: 37.72 kB / 0.8801 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.004941, allocations: 73.66 kB / 0.8802 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.005026, allocations: 35.89 kB / 0.8802 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.005056, allocations: 12 kB / 0.8802 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.005073, allocations: 12 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.005105, allocations: 23.91 kB / 0.8803 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.005151, allocations: 33.17 kB / 0.8803 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.005323, allocations: 79.66 kB / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.005328, allocations: 4 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.394e-06/0.00533, allocations: 1.094 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.005336, allocations: 0 / 0.8804 GB, free: 3.945 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.0005882/0.005924, allocations: 441 kB / 0.8808 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.005988, allocations: 8.75 kB / 0.8808 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.244e-05/0.00605, allocations: 20.89 kB / 0.8808 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.006284, allocations: 159.5 kB / 0.881 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.006298, allocations: 4.562 kB / 0.881 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.006321, allocations: 8.375 kB / 0.881 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.006583, allocations: 107.2 kB / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.006596, allocations: 0 / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.006613, allocations: 7.938 kB / 0.8811 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.006623, allocations: 0 / 0.8811 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-05/0.006718, allocations: 27.98 kB / 0.8811 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.007333, allocations: 365.1 kB / 0.8815 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.007565, allocations: 59.17 kB / 0.8815 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.007625, allocations: 24.7 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.007641, allocations: 0 / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.007676, allocations: 43.08 kB / 0.8816 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.007677, allocations: 0 / 0.8816 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002671/0.007944, allocations: 81.62 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.00798, allocations: 51.41 kB / 0.8817 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.008115, allocations: 188.6 kB / 0.8819 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.008131, allocations: 25.7 kB / 0.8819 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.008223, allocations: 154.7 kB / 0.8821 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.008249, allocations: 27.75 kB / 0.8821 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.008302, allocations: 27.36 kB / 0.8821 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.008452, allocations: 0.4961 MB / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.008491, allocations: 8 kB / 0.8826 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.008547, allocations: 37.14 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.024e-05/0.008637, allocations: 43.38 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.008641, allocations: 0 / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001757/0.008816, allocations: 81.5 kB / 0.8828 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.00884, allocations: 4.719 kB / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.008848, allocations: 0 / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.008873, allocations: 9.641 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.008994, allocations: 19.98 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.009002, allocations: 0 / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.009066, allocations: 20.55 kB / 0.8828 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.009076, allocations: 4 kB / 0.8828 GB, free: 1.227 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 0.0001045/0.00918, allocations: 165.4 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.009219, allocations: 11.98 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.009265, allocations: 20.77 kB / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.00927, allocations: 0 / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.009275, allocations: 0 / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.009278, allocations: 0 / 0.883 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.009476, allocations: 152.5 kB / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.009478, allocations: 0 / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.009569, allocations: 19.98 kB / 0.8832 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.009571, allocations: 0 / 0.8832 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.009582, allocations: 4 kB / 0.8832 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009583, allocations: 0 / 0.8832 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.009585, allocations: 4 kB / 0.8832 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.009802, allocations: 223.8 kB / 0.8834 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.009816, allocations: 7.953 kB / 0.8834 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.009836, allocations: 3.984 kB / 0.8834 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.009923, allocations: 12 kB / 0.8834 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.009986, allocations: 11.98 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.009993, allocations: 3.984 kB / 0.8835 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.585e-05/0.01006, allocations: 139.2 kB / 0.8836 GB, free: 400 kB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.01006, allocations: 0 / 0.8836 GB, free: 400 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002829/0.01034, allocations: 19.94 kB / 0.8836 GB, free: 380 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 0.0001472/0.01049, allocations: 104.3 kB / 0.8837 GB, free: 268 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.01065, allocations: 43.61 kB / 0.8837 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01065, allocations: 0 / 0.8837 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-05/0.01071, allocations: 24.3 kB / 0.8838 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.01107, allocations: 29.64 kB / 0.8838 GB, free: 164 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006817/0.01175, allocations: 214.8 kB / 0.884 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.521e-05/0.0118, allocations: 71.14 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.693e-05/0.01186, allocations: 8 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.01191, allocations: 12.5 kB / 0.8841 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.01191, allocations: 0 / 0.8841 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.004415/0.01633, allocations: 1.303 MB / 0.8854 GB, free: 14.57 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.6200283956713974]