Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001007/0.001007, allocations: 92.22 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.0009703/0.0009703, allocations: 173 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.912/0.912, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.032/2.032, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.065e-05, allocations: 6.031 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002481/0.002512, allocations: 1.295 MB / 0.8794 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003809, allocations: 1.043 MB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.003915, allocations: 5.094 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.502e-05/0.00399, allocations: 31.59 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.004132, allocations: 36.66 kB / 0.8805 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.00429, allocations: 115.9 kB / 0.8806 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.004588, allocations: 353.3 kB / 0.881 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.004873, allocations: 162.5 kB / 0.8811 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.005095, allocations: 208.1 kB / 0.8813 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.005204, allocations: 96.72 kB / 0.8814 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.005255, allocations: 44 kB / 0.8815 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.725e-05/0.005293, allocations: 40 kB / 0.8815 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.005348, allocations: 84.36 kB / 0.8816 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.005429, allocations: 100.7 kB / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.005683, allocations: 239 kB / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005686, allocations: 0 / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005686, allocations: 1.062 kB / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.00569, allocations: 0 / 0.8819 GB, free: 2.457 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000635/0.006325, allocations: 0.5886 MB / 0.8825 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.006361, allocations: 8.031 kB / 0.8825 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.2e-05/0.006443, allocations: 56.75 kB / 0.8825 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.006667, allocations: 212.2 kB / 0.8828 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.006691, allocations: 26 kB / 0.8828 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.006723, allocations: 28.38 kB / 0.8828 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.007118, allocations: 228.1 kB / 0.883 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.007132, allocations: 8.172 kB / 0.883 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.007154, allocations: 9.031 kB / 0.883 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.007166, allocations: 8.375 kB / 0.883 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.007397, allocations: 119.2 kB / 0.8832 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.008277, allocations: 0.7378 MB / 0.8839 GB, free: 352 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.008631, allocations: 191.8 kB / 0.8841 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.008878, allocations: 71.66 kB / 0.8841 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.008893, allocations: 4 kB / 0.8841 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.008916, allocations: 41.39 kB / 0.8842 GB, free: 16 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/0.008918, allocations: 0 / 0.8842 GB, free: 16 kB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0003673/0.009285, allocations: 197.8 kB / 0.8844 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.009318, allocations: 55.41 kB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.009425, allocations: 196.2 kB / 0.8846 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.009441, allocations: 29.7 kB / 0.8846 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.009542, allocations: 215.2 kB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.009593, allocations: 83.28 kB / 0.8849 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.00966, allocations: 59.53 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.00978, allocations: 0.4961 MB / 0.8855 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.597e-05/0.009846, allocations: 28.45 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.009939, allocations: 69.14 kB / 0.8855 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.0101, allocations: 118.9 kB / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01011, allocations: 0 / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002364/0.01034, allocations: 170.2 kB / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01036, allocations: 4 kB / 0.8858 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.01036, allocations: 64 / 0.8858 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.01037, allocations: 8 kB / 0.8858 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.01056, allocations: 59.91 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.01056, allocations: 0 / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.01063, allocations: 23.89 kB / 0.8859 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.01064, allocations: 8 kB / 0.8859 GB, free: 14.12 MB / 0.8542 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 (27): * Single equations (assignments): 27 * 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 9.564e-05/0.01074, allocations: 176.4 kB / 0.8861 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.01078, allocations: 19.91 kB / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.01081, allocations: 25.27 kB / 0.8861 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.01082, allocations: 8 kB / 0.8861 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01082, allocations: 0 / 0.8861 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01083, allocations: 0 / 0.8861 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.01106, allocations: 240.3 kB / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01106, allocations: 0 / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.01121, allocations: 51.91 kB / 0.8864 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01121, allocations: 4 kB / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.01122, allocations: 4 kB / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01123, allocations: 0 / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01123, allocations: 0 / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.01149, allocations: 315.7 kB / 0.8867 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.0115, allocations: 15.84 kB / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.01152, allocations: 8 kB / 0.8868 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.0116, allocations: 11.98 kB / 0.8868 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.01166, allocations: 19.97 kB / 0.8868 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01167, allocations: 4 kB / 0.8868 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.01173, allocations: 153 kB / 0.8869 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01173, allocations: 0 / 0.8869 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002626/0.01199, allocations: 63.73 kB / 0.887 GB, free: 12.96 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 (25): * Single equations (assignments): 25 * 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.544e-05/0.01206, allocations: 107.2 kB / 0.8871 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.01228, allocations: 120.4 kB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01229, allocations: 0 / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01239, allocations: 76.41 kB / 0.8873 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.01268, allocations: 34.36 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.01333, allocations: 447.8 kB / 0.8877 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.837e-05/0.01338, allocations: 83.97 kB / 0.8878 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.157e-05/0.01345, allocations: 17.48 kB / 0.8878 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.01351, allocations: 20.5 kB / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01351, allocations: 0 / 0.8879 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.004146/0.01765, allocations: 1.936 MB / 0.8898 GB, free: 10.14 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.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.181517086923122]