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.001272/0.001272, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.001806/0.001806, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.003/1.003, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.313/2.313, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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 1.974e-06/1.974e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.779e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.001761/0.001779, allocations: 1.241 MB / 0.891 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.00274, allocations: 1.042 MB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.002823, allocations: 7.938 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 5.419e-05/0.002878, allocations: 35.59 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.002994, allocations: 39.59 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.003114, allocations: 119.9 kB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.003336, allocations: 348.4 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.003558, allocations: 158.5 kB / 0.8927 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.003732, allocations: 211.6 kB / 0.8929 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.003812, allocations: 83.75 kB / 0.8929 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.003849, allocations: 44 kB / 0.893 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.845e-05/0.003878, allocations: 51.94 kB / 0.893 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.003925, allocations: 79.8 kB / 0.8931 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.003984, allocations: 99.75 kB / 0.8932 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.004172, allocations: 247 kB / 0.8934 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004174, allocations: 0 / 0.8934 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.91e-07/0.004175, allocations: 0 / 0.8934 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004179, allocations: 0 / 0.8934 GB, free: 5.926 MB / 0.8542 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.0006528/0.004832, allocations: 0.5898 MB / 0.894 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.004869, allocations: 8.625 kB / 0.894 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.004921, allocations: 60.75 kB / 0.8941 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.005079, allocations: 204.2 kB / 0.8943 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.005095, allocations: 25.02 kB / 0.8943 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.005119, allocations: 32.38 kB / 0.8943 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.005355, allocations: 207.3 kB / 0.8945 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.005363, allocations: 192 / 0.8945 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.005379, allocations: 12.38 kB / 0.8945 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.005387, allocations: 8.375 kB / 0.8945 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.459e-05/0.005481, allocations: 92.45 kB / 0.8946 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.00612, allocations: 0.7071 MB / 0.8953 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.006353, allocations: 183.2 kB / 0.8955 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.006411, allocations: 59.66 kB / 0.8956 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.006422, allocations: 4 kB / 0.8956 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.006441, allocations: 41.39 kB / 0.8956 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 1.173e-06/0.006442, allocations: 0 / 0.8956 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0002117/0.006654, allocations: 170.1 kB / 0.8958 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.006681, allocations: 55.41 kB / 0.8958 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.006766, allocations: 199.1 kB / 0.896 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.006779, allocations: 29.7 kB / 0.896 GB, free: 3.098 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.006856, allocations: 223.2 kB / 0.8962 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.006894, allocations: 83.27 kB / 0.8963 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.006945, allocations: 55.58 kB / 0.8964 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.007058, allocations: 0.5 MB / 0.8969 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.283e-05/0.007091, allocations: 20.45 kB / 0.8969 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.007145, allocations: 61.36 kB / 0.8969 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.007243, allocations: 102.9 kB / 0.897 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007245, allocations: 0 / 0.897 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001404/0.007385, allocations: 145 kB / 0.8972 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007398, allocations: 11.98 kB / 0.8972 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.007403, allocations: 4.062 kB / 0.8972 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.007415, allocations: 0 / 0.8972 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.007541, allocations: 55.97 kB / 0.8972 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007547, allocations: 7.938 kB / 0.8973 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.007593, allocations: 19.89 kB / 0.8973 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.007602, allocations: 4 kB / 0.8973 GB, free: 1.766 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 8.147e-05/0.007684, allocations: 176.5 kB / 0.8974 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.007708, allocations: 23.91 kB / 0.8975 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.007741, allocations: 17.28 kB / 0.8975 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007743, allocations: 8 kB / 0.8975 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.007745, allocations: 0 / 0.8975 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007748, allocations: 0 / 0.8975 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.007908, allocations: 201 kB / 0.8977 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.00791, allocations: 3.938 kB / 0.8977 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.008014, allocations: 47.97 kB / 0.8977 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.008017, allocations: 0 / 0.8977 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.008025, allocations: 4 kB / 0.8977 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008026, allocations: 7.938 kB / 0.8977 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008027, allocations: 0 / 0.8977 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.008223, allocations: 299.7 kB / 0.898 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.00824, allocations: 19.78 kB / 0.898 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.008252, allocations: 4 kB / 0.8981 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.008309, allocations: 15.98 kB / 0.8981 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.008361, allocations: 27.95 kB / 0.8981 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.008369, allocations: 4 kB / 0.8981 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.008419, allocations: 141 kB / 0.8982 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.008419, allocations: 0 / 0.8982 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001771/0.008597, allocations: 63.73 kB / 0.8983 GB, free: 0.6641 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 9.023e-05/0.008687, allocations: 111.2 kB / 0.8984 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.008833, allocations: 102.6 kB / 0.8985 GB, free: 456 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008835, allocations: 0 / 0.8985 GB, free: 456 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.008897, allocations: 71.58 kB / 0.8986 GB, free: 380 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.009134, allocations: 31.91 kB / 0.8986 GB, free: 348 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.00969, allocations: 446.9 kB / 0.899 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.359e-05/0.009744, allocations: 79.98 kB / 0.8991 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.023e-05/0.009804, allocations: 21.42 kB / 0.8991 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.009895, allocations: 102.2 kB / 0.8992 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of SimCode: time 7.82e-07/0.009895, allocations: 0 / 0.8992 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.003977/0.01387, allocations: 2.026 MB / 0.9012 GB, free: 13.7 MB / 0.8698 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.194205856882036]